add curse upload capabilities
This commit is contained in:
parent
431f2cf039
commit
a24e28f7ea
16
build.gradle
16
build.gradle
|
@ -17,7 +17,10 @@ buildscript {
|
|||
}
|
||||
|
||||
// Apply the forge plugin - this adds all the magic for automatically obfuscating, deobfuscating etc
|
||||
|
||||
apply plugin: 'forge'
|
||||
apply plugin: "curseforge"
|
||||
|
||||
|
||||
// This is a simple flatdir repository for "uploadArchives" when you don't have a remote repo to target
|
||||
repositories {
|
||||
|
@ -99,6 +102,19 @@ artifacts {
|
|||
archives sourceJar, deobfJar
|
||||
}
|
||||
|
||||
curse {
|
||||
dependsOn "createCurseChangelog"
|
||||
|
||||
projectId = "228756"
|
||||
apiKey = "$System.env.curse_api_key"
|
||||
changelog = "See github for changes"
|
||||
releaseType = "beta"
|
||||
|
||||
additionalArtifact deobfJar
|
||||
additionalArtifact sourceJar
|
||||
}
|
||||
|
||||
|
||||
// Configure an upload task. this is setup for uploading to files.minecraftforge.net. There are other examples around
|
||||
uploadArchives {
|
||||
dependsOn 'reobf'
|
||||
|
|
Loading…
Reference in New Issue