2022-04-08 22:02:24 +02:00
|
|
|
publishing {
|
|
|
|
tasks.publish.dependsOn 'build'
|
|
|
|
publications {
|
|
|
|
mavenJava(MavenPublication) {
|
2023-02-06 11:27:57 +01:00
|
|
|
artifactId = "appliedenergistics2"
|
2022-04-08 23:33:47 +02:00
|
|
|
|
2023-02-06 11:27:57 +01:00
|
|
|
artifact jar
|
2022-04-08 22:02:24 +02:00
|
|
|
artifact devJar
|
|
|
|
artifact sourceJar
|
|
|
|
artifact apiJar
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
if (project.hasProperty('mvnURL')) {
|
|
|
|
maven {
|
|
|
|
credentials {
|
|
|
|
username findProperty("mvnUsername")
|
|
|
|
password findProperty("mvnPassword")
|
|
|
|
}
|
|
|
|
url = findProperty("mvnURL")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
mavenLocal()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|