No. It's neither. And it should work now.

This commit is contained in:
Adubbz 2014-01-19 17:31:54 +11:00
parent 62085fc154
commit bd3a4825cf

View file

@ -112,7 +112,7 @@ task createChangelog(type: ChangelogTask) {
setAuthName(new DelayedString(project, 'console_script')); setAuthName(new DelayedString(project, 'console_script'));
setAuthPassword(new DelayedString(project, 'dc6d48ca20a474beeac280a9a16a926e')); setAuthPassword(new DelayedString(project, 'dc6d48ca20a474beeac280a9a16a926e'));
setTargetBuild({buildNumber.toString()}); setTargetBuild({buildNumber.toString()});
setOutput(new DelayedFile(project, 'build/distributions/' + project.getName() + project.version + '-changelog.txt')); setOutput(new DelayedFile(project, 'build/distributions/' + project.getName() + '-' + project.version + '-changelog.txt'));
} }
tasks.build.dependsOn('createChangelog') tasks.build.dependsOn('createChangelog')
@ -137,14 +137,9 @@ task deobfJar(type: Jar) {
} }
artifacts { artifacts {
def jobName = "${System.getenv().JOB_NAME}"
def buildNumber = "${System.getenv().BUILD_NUMBER}"
archives sourceJar archives sourceJar
archives deobfJar archives deobfJar
archives apiJar archives apiJar
archives project.file('build/distributions/' + project.getName() + project.version + '-changelog.txt')
} }
uploadArchives { uploadArchives {