Changed src zip to sources jar
This commit is contained in:
parent
363a8d9f4a
commit
0fb8a62653
|
@ -118,9 +118,9 @@ task createChangelog(type: ChangelogTask) {
|
|||
|
||||
tasks.build.dependsOn('createChangelog')
|
||||
|
||||
task sourceZip(type: Zip) {
|
||||
from sourceSets.main.allSource
|
||||
classifier = 'src'
|
||||
task sourceJar(type: Jar) {
|
||||
from sourceSets.main.allJava
|
||||
classifier = 'sources'
|
||||
}
|
||||
|
||||
task apiZip(type: Zip) {
|
||||
|
@ -137,7 +137,7 @@ task deobfJar(type: Jar) {
|
|||
}
|
||||
|
||||
artifacts {
|
||||
archives sourceZip
|
||||
archives sourceJar
|
||||
archives deobfJar
|
||||
archives apiZip
|
||||
}
|
||||
|
@ -205,7 +205,6 @@ uploadArchives {
|
|||
name 'Amnet'
|
||||
roles { role 'developer' }
|
||||
}
|
||||
|
||||
developer {
|
||||
id 'ted80'
|
||||
name 'ted80'
|
||||
|
|
Loading…
Reference in New Issue