mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-09-24 05:27:53 +02:00
@@ -19,34 +19,34 @@ processResources {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
jar.archiveName = "Plotsquared-Api-${project.parent.version}.jar"
|
jar.archiveName = "PlotSquared-API-${project.parent.version}.jar"
|
||||||
jar.destinationDir = file '../mvn/com/github/intellectualsites/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 {
|
||||||
project {
|
project {
|
||||||
groupId 'com.github.intellectualsites.plotsquared'
|
groupId 'com.github.intellectualsites.plotsquared'
|
||||||
artifactId 'Plotsquared-Api'
|
artifactId 'PlotSquared-API'
|
||||||
version project.parent.version
|
version project.parent.version
|
||||||
}
|
}
|
||||||
}.writeTo("../mvn/com/github/intellectualsites/plotsquared/Plotsquared-Api/${project.parent.version}/Plotsquared-Api-${project.parent.version}.pom")
|
}.writeTo("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-API/${project.parent.version}/PlotSquared-API-${project.parent.version}.pom")
|
||||||
pom {
|
pom {
|
||||||
project {
|
project {
|
||||||
groupId 'com.github.intellectualsites.plotsquared'
|
groupId 'com.github.intellectualsites.plotsquared'
|
||||||
artifactId 'Plotsquared-Api'
|
artifactId 'PlotSquared-API'
|
||||||
version 'latest'
|
version 'latest'
|
||||||
}
|
}
|
||||||
}.writeTo("../mvn/com/github/intellectualsites/plotsquared/Plotsquared-Api/latest/Plotsquared-Api-latest.pom")
|
}.writeTo("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-API/latest/PlotSquared-API-latest.pom")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task copyFiles {
|
task copyFiles {
|
||||||
doLast {
|
doLast {
|
||||||
copy {
|
copy {
|
||||||
from "../mvn/com/github/intellectualsites/plotsquared/Plotsquared-Api/${project.parent.version}/"
|
from "../mvn/com/github/intellectualsites/plotsquared/PlotSquared-API/${project.parent.version}/"
|
||||||
into '../mvn/com/github/intellectualsites/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')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user