add curse upload capabilities

This commit is contained in:
Progwml6 2015-03-22 15:50:29 -04:00
parent 431f2cf039
commit a24e28f7ea
1 changed files with 16 additions and 0 deletions

View File

@ -17,7 +17,10 @@ buildscript {
} }
// Apply the forge plugin - this adds all the magic for automatically obfuscating, deobfuscating etc // Apply the forge plugin - this adds all the magic for automatically obfuscating, deobfuscating etc
apply plugin: 'forge' apply plugin: 'forge'
apply plugin: "curseforge"
// This is a simple flatdir repository for "uploadArchives" when you don't have a remote repo to target // This is a simple flatdir repository for "uploadArchives" when you don't have a remote repo to target
repositories { repositories {
@ -99,6 +102,19 @@ artifacts {
archives sourceJar, deobfJar 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 // Configure an upload task. this is setup for uploading to files.minecraftforge.net. There are other examples around
uploadArchives { uploadArchives {
dependsOn 'reobf' dependsOn 'reobf'