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
28
build.gradle
28
build.gradle
|
@ -1,17 +1,8 @@
|
||||||
buildscript {
|
plugins {
|
||||||
repositories {
|
id "net.minecraftforge.gradle.forge" version "2.0.2"
|
||||||
jcenter()
|
id "com.matthewprenger.cursegradle" version "1.0.5"
|
||||||
maven {
|
|
||||||
name = "forge"
|
|
||||||
url = "http://files.minecraftforge.net/maven"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
dependencies {
|
|
||||||
classpath 'net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'net.minecraftforge.gradle.forge'
|
|
||||||
apply plugin: 'maven'
|
apply plugin: 'maven'
|
||||||
|
|
||||||
// define the properties file
|
// define the properties file
|
||||||
|
@ -125,11 +116,20 @@ task listOutputs << {
|
||||||
tasks.build.finalizedBy('listOutputs')
|
tasks.build.finalizedBy('listOutputs')
|
||||||
|
|
||||||
artifacts {
|
artifacts {
|
||||||
archives changelog.output
|
archives changelog.output
|
||||||
archives sourcesJar
|
archives sourcesJar
|
||||||
archives deobfJar
|
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
|
import groovy.io.FileType
|
||||||
|
|
||||||
uploadArchives {
|
uploadArchives {
|
||||||
|
@ -210,4 +210,4 @@ uploadArchives {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue