Adds a classifier to jar task
This commit is contained in:
parent
434349aca6
commit
99630b7470
1 changed files with 6 additions and 2 deletions
|
@ -58,13 +58,17 @@ dependencies {
|
||||||
|
|
||||||
def MAVEN_PASSWORD_PROPERTY = "AriasCreationsMavenPassword"
|
def MAVEN_PASSWORD_PROPERTY = "AriasCreationsMavenPassword"
|
||||||
|
|
||||||
|
tasks.named('jar', Jar).configure {
|
||||||
|
archiveClassifier = "RELEASE"
|
||||||
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
mavenJava(MavenPublication) {
|
mavenJava(MavenPublication) {
|
||||||
from components.java
|
from components.java
|
||||||
artifact jar
|
artifact jar
|
||||||
//artifact sourcesJar
|
artifact sourcesJar
|
||||||
//artifact javadocJar
|
artifact javadocJar
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
|
|
Loading…
Reference in a new issue