Actually copy over the files as well...

This commit is contained in:
Sauilitired 2018-12-25 18:30:42 +01:00
parent beb0f5708f
commit edc758334c
No known key found for this signature in database
GPG key ID: C0207FF7EA146678

View file

@ -18,8 +18,8 @@ processResources {
}
}
jar.archiveName = "plotsquared-api-${project.parent.version}.jar"
jar.destinationDir = file '../mvn/com/plotsquared/plotsquared-api/' + project.parent.version
jar.archiveName = "Plotsquared-Api-${project.parent.version}.jar"
jar.destinationDir = file '../mvn/com/github/intellectualsites/plotsquared/Plotsquared-Api/' + project.parent.version
task createPom {
doLast {
pom {
@ -42,10 +42,10 @@ task createPom {
task copyFiles {
doLast {
copy {
from "../mvn/com/plotsquared/plotsquared-api/${project.parent.version}/"
into '../mvn/com/plotsquared/plotsquared-api/latest/'
from "../mvn/com/github/intellectualsites/plotsquared/Plotsquared-Api/${project.parent.version}/"
into '../mvn/com/github/intellectualsites/plotsquared/Plotsquared-Api/latest/'
include('*.jar')
rename("plotsquared-api-${project.parent.version}.jar", 'plotsquared-api-latest.jar')
rename("Plotsquared-Api-${project.parent.version}.jar", 'Plotsquared-Api-latest.jar')
}
}
}