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"
|
||||
|
||||
tasks.named('jar', Jar).configure {
|
||||
archiveClassifier = "RELEASE"
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
from components.java
|
||||
artifact jar
|
||||
//artifact sourcesJar
|
||||
//artifact javadocJar
|
||||
artifact sourcesJar
|
||||
artifact javadocJar
|
||||
}
|
||||
}
|
||||
repositories {
|
||||
|
|
Loading…
Reference in a new issue