Updating Gradle for CurseForge

This commit is contained in:
Adubbz 2015-02-16 09:06:47 +11:00
parent 318aa650b7
commit 47a39f8282
2 changed files with 10 additions and 8 deletions

View File

@ -42,6 +42,7 @@ archivesBaseName = "BiomesOPlenty"
minecraft {
version = config.minecraft_version + "-" + config.forge_version // grab latest forge
mappings = "snapshot_nodoc_20150214"
}
// add some stuff to the version
@ -55,13 +56,6 @@ jenkins {
job = 'BiomesOPlenty'
}
if (!minecraft.mappingsSet && minecraft.version.startsWith("1.8")) {
// Default mappings, normally if mappings are not specified then the plugin will set this
// default value internally, unfortunately this happens too late for the compile step below
// which needs the correct value to pass to the annotation processor.
minecraft.mappings = "snapshot_20141001"
}
def mixinSrg = "${tasks.reobf.temporaryDir}" + File.separator + 'mixins.srg'
reobf.addExtraSrgFile mixinSrg
@ -151,6 +145,12 @@ artifacts {
archives deobfJar
}
curse {
projectId = project.config.curse_project_id
apiKey = "$System.env.curse_api_key"
releaseType = project.config.curse_release_type
}
uploadArchives {
dependsOn 'reobf'
repositories {

View File

@ -1,3 +1,5 @@
minecraft_version=1.8
forge_version=11.14.0.1265-1.8
forge_version=11.14.1.1308
mod_version=3.0.0
curse_project_id=220318
curse_release_type=alpha