Fix latest pom output
This commit is contained in:
parent
47fef5b345
commit
c39f92248f
@ -34,6 +34,13 @@ task createPom << {
|
|||||||
version project.parent.version
|
version project.parent.version
|
||||||
}
|
}
|
||||||
}.writeTo("../mvn/com/boydti/fawe-api/${project.parent.version}/fawe-api-${project.parent.version}.pom")
|
}.writeTo("../mvn/com/boydti/fawe-api/${project.parent.version}/fawe-api-${project.parent.version}.pom")
|
||||||
|
pom {
|
||||||
|
project {
|
||||||
|
groupId 'com.boydti'
|
||||||
|
artifactId 'fawe-api'
|
||||||
|
version 'latest'
|
||||||
|
}
|
||||||
|
}.writeTo("../mvn/com/boydti/fawe-api/latest/fawe-api-latest.pom")
|
||||||
}
|
}
|
||||||
|
|
||||||
task copyFiles {
|
task copyFiles {
|
||||||
@ -41,8 +48,7 @@ task copyFiles {
|
|||||||
copy {
|
copy {
|
||||||
from "../mvn/com/boydti/fawe-api/${project.parent.version}/"
|
from "../mvn/com/boydti/fawe-api/${project.parent.version}/"
|
||||||
into '../mvn/com/boydti/fawe-api/latest/'
|
into '../mvn/com/boydti/fawe-api/latest/'
|
||||||
include('*.*')
|
include('*.jar')
|
||||||
rename ("fawe-api-${project.parent.version}.pom", 'fawe-api-latest.pom')
|
|
||||||
rename ("fawe-api-${project.parent.version}.jar", 'fawe-api-latest.jar')
|
rename ("fawe-api-${project.parent.version}.jar", 'fawe-api-latest.jar')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user