add curse support

This commit is contained in:
Progwml6 2016-01-18 15:39:18 -05:00
parent b5b8ec94ea
commit b50c6eb126
1 changed files with 15 additions and 0 deletions

View File

@ -11,6 +11,10 @@ buildscript {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT' classpath 'net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT'
} }
} }
plugins {
id "com.matthewprenger.cursegradle" version "1.0.7"
}
apply plugin: 'net.minecraftforge.gradle.forge' apply plugin: 'net.minecraftforge.gradle.forge'
apply plugin: 'maven' apply plugin: 'maven'
apply plugin: 'eclipse' apply plugin: 'eclipse'
@ -39,6 +43,17 @@ minecraft {
runDir = "run" runDir = "run"
} }
curseforge {
apiKey = project.hasProperty('curseforge_apikey') ? project.curseforge_apikey : '0'
project {
id = '228756'
changelog = 'Empty'
releaseType = 'beta'
}
}
// This wrangles the resources for the jar files- stuff like textures and languages // This wrangles the resources for the jar files- stuff like textures and languages
processResources processResources
{ {