Core is Core

This commit is contained in:
N0tMyFaultOG 2020-08-13 21:25:17 +02:00
parent 5efdef19cf
commit ffe1e1e40d
2 changed files with 11 additions and 11 deletions

View File

@ -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")
}
}
}

View File

@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.plotsquared</groupId>
<artifactId>PlotSquared</artifactId>
<artifactId>PlotSquared-Core</artifactId>
<version>latest</version>
<dependencies>
<dependency>