From a24e28f7ea423c2a3a65bc2677981957a34e29d7 Mon Sep 17 00:00:00 2001 From: Progwml6 Date: Sun, 22 Mar 2015 15:50:29 -0400 Subject: [PATCH] add curse upload capabilities --- build.gradle | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/build.gradle b/build.gradle index e9fb91b..246e503 100755 --- a/build.gradle +++ b/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'