Changed src zip to sources jar

This commit is contained in:
Parker Young 2014-08-29 18:56:37 -04:00
parent 363a8d9f4a
commit 0fb8a62653
1 changed files with 5 additions and 6 deletions

View File

@ -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,8 +205,7 @@ uploadArchives {
name 'Amnet'
roles { role 'developer' }
}
developer {
developer {
id 'ted80'
name 'ted80'
roles { role 'developer' }