Attempting to get Curse uploading working

If this fails, no big deal. This is solely to help out users of the launcher, not to help Curse given their poor support.
This commit is contained in:
Adubbz 2015-12-17 22:06:26 +11:00
parent 630fe3aa0f
commit fbdd988887
1 changed files with 14 additions and 14 deletions

View File

@ -1,17 +1,8 @@
buildscript {
repositories {
jcenter()
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT'
}
plugins {
id "net.minecraftforge.gradle.forge" version "2.0.2"
id "com.matthewprenger.cursegradle" version "1.0.5"
}
apply plugin: 'net.minecraftforge.gradle.forge'
apply plugin: 'maven'
// define the properties file
@ -125,11 +116,20 @@ task listOutputs << {
tasks.build.finalizedBy('listOutputs')
artifacts {
archives changelog.output
archives changelog.output
archives sourcesJar
archives deobfJar
}
curseforge {
apiKey = "$System.env.curse_api_key"
project {
id = '220318'
changelog = file('build/libs/' + project.getName() + '-' + project.version + '-changelog.txt');
releaseType = 'beta'
}
}
import groovy.io.FileType
uploadArchives {
@ -210,4 +210,4 @@ uploadArchives {
}
}
}
}
}