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:
parent
630fe3aa0f
commit
fbdd988887
26
build.gradle
26
build.gradle
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue