From ffe1e1e40d05af51ef03230a604690501eac3922 Mon Sep 17 00:00:00 2001 From: N0tMyFaultOG Date: Thu, 13 Aug 2020 21:25:17 +0200 Subject: [PATCH] Core is Core --- Core/build.gradle | 20 ++++++++++---------- Core/pom.xml | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Core/build.gradle b/Core/build.gradle index a500ee5a0..3189bd211 100644 --- a/Core/build.gradle +++ b/Core/build.gradle @@ -41,24 +41,24 @@ processResources { } //noinspection GroovyAssignabilityCheck -jar.archiveFileName = "PlotSquared-${project.parent.version}.jar" -jar.destinationDirectory = file("../mvn/com/plotsquared/PlotSquared/" + project.parent.version) +jar.archiveFileName = "PlotSquared-Core-${project.parent.version}.jar" +jar.destinationDirectory = file("../mvn/com/plotsquared/PlotSquared-Core/" + project.parent.version) task createPom { doLast { pom { project { groupId = rootProject.group - artifactId = "PlotSquared" + artifactId = "PlotSquared-Core" version = project.parent.version } - }.writeTo("../mvn/com/plotsquared/PlotSquared/${project.parent.version}/PlotSquared-${project.parent.version}.pom") + }.writeTo("../mvn/com/plotsquared/PlotSquared-Core/${project.parent.version}/PlotSquared-Core-${project.parent.version}.pom") pom { project { groupId = rootProject.group - artifactId = "PlotSquared" + artifactId = "PlotSquared-Core" version = "latest" } - }.writeTo("../mvn/com/plotsquared/PlotSquared/latest/PlotSquared-latest.pom") + }.writeTo("../mvn/com/plotsquared/PlotSquared-Core/latest/PlotSquared-Core-latest.pom") .writeTo("pom.xml") } } @@ -66,10 +66,10 @@ task createPom { task copyFiles { doLast { copy { - from("../mvn/com/plotsquared/PlotSquared/${project.parent.version}/") - into("../mvn/com/plotsquared/PlotSquared/latest/") - include("*.jar") - rename("PlotSquared-${project.parent.version}.jar", "PlotSquared-latest.jar") + from("../mvn/com/plotsquared/PlotSquared-Core/${project.parent.version}/") + into("../mvn/com/plotsquared/PlotSquared-Core/latest/") + include("PlotSquared-Core*.jar") + rename("PlotSquared-Core-${project.parent.version}.jar", "PlotSquared-Core-latest.jar") } } } diff --git a/Core/pom.xml b/Core/pom.xml index bb7bfa913..04d4601c4 100644 --- a/Core/pom.xml +++ b/Core/pom.xml @@ -3,7 +3,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 4.0.0 com.plotsquared - PlotSquared + PlotSquared-Core latest