Updating Gradle for CurseForge
This commit is contained in:
parent
318aa650b7
commit
47a39f8282
2 changed files with 10 additions and 8 deletions
14
build.gradle
14
build.gradle
|
@ -42,6 +42,7 @@ archivesBaseName = "BiomesOPlenty"
|
||||||
|
|
||||||
minecraft {
|
minecraft {
|
||||||
version = config.minecraft_version + "-" + config.forge_version // grab latest forge
|
version = config.minecraft_version + "-" + config.forge_version // grab latest forge
|
||||||
|
mappings = "snapshot_nodoc_20150214"
|
||||||
}
|
}
|
||||||
|
|
||||||
// add some stuff to the version
|
// add some stuff to the version
|
||||||
|
@ -55,13 +56,6 @@ jenkins {
|
||||||
job = 'BiomesOPlenty'
|
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'
|
def mixinSrg = "${tasks.reobf.temporaryDir}" + File.separator + 'mixins.srg'
|
||||||
reobf.addExtraSrgFile mixinSrg
|
reobf.addExtraSrgFile mixinSrg
|
||||||
|
|
||||||
|
@ -151,6 +145,12 @@ artifacts {
|
||||||
archives deobfJar
|
archives deobfJar
|
||||||
}
|
}
|
||||||
|
|
||||||
|
curse {
|
||||||
|
projectId = project.config.curse_project_id
|
||||||
|
apiKey = "$System.env.curse_api_key"
|
||||||
|
releaseType = project.config.curse_release_type
|
||||||
|
}
|
||||||
|
|
||||||
uploadArchives {
|
uploadArchives {
|
||||||
dependsOn 'reobf'
|
dependsOn 'reobf'
|
||||||
repositories {
|
repositories {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
minecraft_version=1.8
|
minecraft_version=1.8
|
||||||
forge_version=11.14.0.1265-1.8
|
forge_version=11.14.1.1308
|
||||||
mod_version=3.0.0
|
mod_version=3.0.0
|
||||||
|
curse_project_id=220318
|
||||||
|
curse_release_type=alpha
|
||||||
|
|
Loading…
Reference in a new issue