diff --git a/build.gradle b/build.gradle index 1b50aeb..e29d90f 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,8 @@ +/* +// For those who want the bleeding edge buildscript { repositories { - mavenCentral() + jcenter() maven { name = "forge" url = "http://files.minecraftforge.net/maven" @@ -10,15 +12,20 @@ buildscript { classpath 'net.minecraftforge.gradle:ForgeGradle:2.0-SNAPSHOT' } } +apply plugin: 'net.minecraftforge.gradle.forge' +*/ -apply plugin: '${name}' +// for people who want stable +plugins { + id "net.minecraftforge.gradle.forge" version "2.0.0" +} version = "1.0" group= "com.yourname.modid" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "modid" minecraft { - version = "${version}" + version = "@VERSION@" runDir = "eclipse" // the mappings can be changed at any time, and must be in the following format. @@ -26,7 +33,7 @@ minecraft { // stable_# stables are built at the discretion of the MCP team. // Use non-default mappings at your own risk. they may not allways work. // simply re-run your setup task after changing the mappings to update your workspace. - mappings = "${mappings}" + mappings = "@MAPPINGS@" } dependencies { @@ -39,7 +46,7 @@ dependencies { //compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env //compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env - // the 'provided' configuration is for optioanl dependencies + // the 'provided' configuration is for optional dependencies that exist at compile-time but might not at runtime. //provided 'com.mod-buildcraft:buildcraft:6.0.8:dev' // the deobf configurations: 'deobfCompile' and 'deobfProvided' are the same as the normal compile and provided, diff --git a/gitignore.txt b/gitignore.txt new file mode 100644 index 0000000..43654d1 --- /dev/null +++ b/gitignore.txt @@ -0,0 +1,21 @@ +# eclipse +bin +*.launch +.settings +.metadata +.classpath +.project + +# idea +out +*.ipr +*.iws +*.iml +.idea + +# gradle +build +.gradle + +# other +eclipse