summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorLance5057 <Lance5057@gmail.com>2017-03-12 18:15:17 -0500
committerLance5057 <Lance5057@gmail.com>2017-03-12 18:15:17 -0500
commitf692d8983ee8787843d874ae1aa329c1439e3223 (patch)
treea19cbd6d584d0ccd3d6117d63489168a89a19c3c /build.gradle
parenta7ea7c80bff70096191fd772a0416aec15d41a69 (diff)
Hopefully this unfucks whatever got fucked.
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle45
1 files changed, 31 insertions, 14 deletions
diff --git a/build.gradle b/build.gradle
index 6835cb5..bd2e6e2 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,29 +1,40 @@
+
+// For those who want the bleeding edge
buildscript {
repositories {
- mavenCentral()
+ jcenter()
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
- maven {
- name = "sonatype"
- url = "https://oss.sonatype.org/content/repositories/snapshots/"
- }
}
dependencies {
- classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
+ classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
}
}
+apply plugin: 'net.minecraftforge.gradle.forge'
-apply plugin: 'forge'
-
-version = "1.3.7"
-group= "gmail.lance5057.com" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
+/*
+// for people who want stable - not yet functional for MC 1.8.8 - we require the forgegradle 2.1 snapshot
+plugins {
+ id "net.minecraftforge.gradle.forge" version "2.0.2"
+}
+*/
+version = "1.4.0.6a"
+group= "lance5057.tDefense" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "tinkersdefense"
minecraft {
- version = "1.7.10-10.13.4.1614-1.7.10"
- runDir = "eclipse"
+ version = "1.10.2-12.18.2.2151"
+ runDir = "run"
+
+ // the mappings can be changed at any time, and must be in the following format.
+ // snapshot_YYYYMMDD snapshot are built nightly.
+ // 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 = "snapshot_20160518"
+ // makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.
}
dependencies {
@@ -36,6 +47,14 @@ 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 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,
+ // except that these dependencies get remapped to your current MCP mappings
+ //deobfCompile 'com.mod-buildcraft:buildcraft:6.0.8:dev'
+ //deobfProvided 'com.mod-buildcraft:buildcraft:6.0.8:dev'
+
// for more info...
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
// http://www.gradle.org/docs/current/userguide/dependency_management.html
@@ -60,6 +79,4 @@ processResources
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
-
- exclude '**/Thumbs.db' // cause I'm tired of picking them out like nasty olives in an otherwise decent pizza
}