Fixed changelog links

This commit is contained in:
Adubbz 2015-12-17 02:16:35 +11:00
parent 7e25aa26c0
commit 0314c2a42a
1 changed files with 5 additions and 3 deletions

View File

@ -67,11 +67,11 @@ processResources {
exclude '**/*.properties'
}
}
import net.minecraftforge.gradle.tasks.JenkinsChangelog
import net.minecraftforge.gradle.common.Constants
task createChangelog(type: JenkinsChangelog) {
task changelog(type: JenkinsChangelog) {
def buildNumber = "${System.getenv().BUILD_NUMBER}"
serverRoot = 'http://ci.jenkins.minecraftforge.net/'
@ -82,7 +82,7 @@ task createChangelog(type: JenkinsChangelog) {
output = 'build/libs/' + project.getName() + '-' + project.version + '-changelog.txt';
}
tasks.build.dependsOn('createChangelog')
tasks.build.dependsOn('changelog')
task sourcesJar(type: Jar) {
from sourceSets.main.allJava
@ -101,12 +101,14 @@ task deobfJar(type: Jar) {
}
artifacts {
archives changelog.output
archives sourcesJar
archives deobfJar
}
uploadArchives {
dependsOn 'build'
repositories {
if (project.hasProperty("filesmaven")) {
logger.info('Publishing to files server')