diff --git a/Bukkit/build.gradle b/Bukkit/build.gradle index 80fa5b9ce..c5f406592 100644 --- a/Bukkit/build.gradle +++ b/Bukkit/build.gradle @@ -45,33 +45,34 @@ processResources { //noinspection GroovyAssignabilityCheck jar.archiveFileName = "PlotSquared-BukkitAPI-${project.parent.version}.jar" -jar.destinationDirectory = file("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-BukkitAPI/" + project.parent.version) +jar.destinationDirectory = file("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-Bukkit/" + project.parent.version) task createPom { doLast { pom { project { - groupId = "com.github.intellectualsites.plotsquared" - artifactId = "PlotSquared-BukkitAPI" - version = project.parent.version + groupId = rootProject.group + artifactId = "PlotSquared-Bukkit" + version = rootProject.version } - }.writeTo("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-BukkitAPI/${project.parent.version}/PlotSquared-BukkitAPI-${project.parent.version}.pom") + }.writeTo("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-Bukkit/${project.parent.version}/PlotSquared-Bukkit-${project.parent.version}.pom") pom { project { - groupId = "com.github.intellectualsites.plotsquared" - artifactId = "PlotSquared-BukkitAPI" + groupId = rootProject.group + artifactId = "PlotSquared-Bukkit" version = "latest" } - }.writeTo("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-BukkitAPI/latest/PlotSquared-BukkitAPI-latest.pom") + }.writeTo("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-Bukkit/latest/PlotSquared-Bukkit-latest.pom") + .writeTo("pom.xml") } } task copyFiles { doLast { copy { - from("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-BukkitAPI/${project.parent.version}/") - into("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-BukkitAPI/latest/") - include("PlotSquared-BukkitAPI*.jar") - rename("PlotSquared-BukkitAPI-${project.parent.version}.jar", "PlotSquared-BukkitAPI-latest.jar") + from("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-Bukkit/${project.parent.version}/") + into("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-Bukkit/latest/") + include("PlotSquared-Bukkit*.jar") + rename("PlotSquared-Bukkit-${project.parent.version}.jar", "PlotSquared-Bukkit-latest.jar") } } } diff --git a/Bukkit/pom.xml b/Bukkit/pom.xml new file mode 100644 index 000000000..63c13d197 --- /dev/null +++ b/Bukkit/pom.xml @@ -0,0 +1,120 @@ + + + 4.0.0 + com.github.intellectualsites.plotsquared + PlotSquared-Bukkit + latest + + + com.github.intellectualsites.plotsquared + Core + unspecified + compile + + + com.destroystokyo.paper + paper-api + 1.15.2-R0.1-SNAPSHOT + compile + + + com.sk89q.worldedit + worldedit-bukkit + 7.0.1 + compile + + + io.papermc + paperlib + 1.0.2 + compile + + + com.github.MilkBowl + VaultAPI + 1.7 + compile + + + bukkit + * + + + + + com.sk89q.worldedit + worldedit-core + 7.0.0 + runtime + + + dummypermscompat + * + + + bukkit-classloader-check + * + + + mockito-core + * + + + + + net.kyori + text-api + 3.0.2 + runtime + + + net.kyori + text-serializer-gson + 3.0.2 + runtime + + + net.kyori + text-serializer-legacy + 3.0.2 + runtime + + + net.kyori + text-serializer-plain + 3.0.2 + runtime + + + com.google.guava + guava + 21.0 + runtime + + + org.spigotmc + spigot-api + 1.15.2-R0.1-SNAPSHOT + runtime + + + net.kyori + text-adapter-bukkit + 3.0.3 + runtime + + + me.clip + placeholderapi + 2.10.4 + runtime + + + junit + junit + 4.13 + test + + + diff --git a/Core/build.gradle b/Core/build.gradle index a60a67a60..6a8443aab 100644 --- a/Core/build.gradle +++ b/Core/build.gradle @@ -35,34 +35,35 @@ processResources { } //noinspection GroovyAssignabilityCheck -jar.archiveFileName = "PlotSquared-CoreAPI-${project.parent.version}.jar" -jar.destinationDirectory = file("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-CoreAPI/" + project.parent.version) +jar.archiveFileName = "PlotSquared-${project.parent.version}.jar" +jar.destinationDirectory = file("../mvn/com/github/intellectualsites/plotsquared/PlotSquared/" + project.parent.version) task createPom { doLast { pom { project { - groupId = "com.github.intellectualsites.plotsquared" - artifactId = "PlotSquared-CoreAPI" + groupId = rootProject.group + artifactId = "PlotSquared" version = project.parent.version } - }.writeTo("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-CoreAPI/${project.parent.version}/PlotSquared-CoreAPI-${project.parent.version}.pom") + }.writeTo("../mvn/com/github/intellectualsites/plotsquared/PlotSquared/${project.parent.version}/PlotSquared-${project.parent.version}.pom") pom { project { - groupId = "com.github.intellectualsites.plotsquared" - artifactId = "PlotSquared-CoreAPI" + groupId = rootProject.group + artifactId = "PlotSquared" version = "latest" } - }.writeTo("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-CoreAPI/latest/PlotSquared-CoreAPI-latest.pom") + }.writeTo("../mvn/com/github/intellectualsites/plotsquared/PlotSquared/latest/PlotSquared-latest.pom") + .writeTo("pom.xml") } } task copyFiles { doLast { copy { - from("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-CoreAPI/${project.parent.version}/") - into("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-CoreAPI/latest/") + from("../mvn/com/github/intellectualsites/plotsquared/PlotSquared/${project.parent.version}/") + into("../mvn/com/github/intellectualsites/plotsquared/PlotSquared/latest/") include("*.jar") - rename("PlotSquared-CoreAPI-${project.parent.version}.jar", "PlotSquared-CoreAPI-latest.jar") + rename("PlotSquared-${project.parent.version}.jar", "PlotSquared-latest.jar") } } } diff --git a/Core/pom.xml b/Core/pom.xml new file mode 100644 index 000000000..9d69211bb --- /dev/null +++ b/Core/pom.xml @@ -0,0 +1,102 @@ + + + 4.0.0 + com.github.intellectualsites.plotsquared + PlotSquared + latest + + + org.json + json + 20190722 + compile + + + org.projectlombok + lombok + 1.18.12 + runtime + + + com.sk89q.worldedit + worldedit-core + 7.0.0 + runtime + + + dummypermscompat + * + + + bukkit-classloader-check + * + + + mockito-core + * + + + + + net.kyori + text-api + 3.0.2 + runtime + + + net.kyori + text-serializer-gson + 3.0.2 + runtime + + + net.kyori + text-serializer-legacy + 3.0.2 + runtime + + + net.kyori + text-serializer-plain + 3.0.2 + runtime + + + com.google.guava + guava + 21.0 + runtime + + + org.yaml + snakeyaml + 1.25 + runtime + + + com.google.code.gson + gson + 2.8.6 + runtime + + + org.jetbrains.kotlin + kotlin-stdlib + 1.3.61 + runtime + + + org.jetbrains + annotations + 18.0.0 + runtime + + + junit + junit + 4.13 + test + + +