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