Skip to content

Instantly share code, notes, and snippets.

@RX14
Forked from Caellian/build.gradle
Last active August 29, 2015 14:26
Show Gist options
  • Save RX14/87d95774087be05798e0 to your computer and use it in GitHub Desktop.
Save RX14/87d95774087be05798e0 to your computer and use it in GitHub Desktop.
Finished?
//Project data
String minecraftVersion = "1.8.3",
//Mapping data
String mappingsCommit = "88962d643ca3912333ede2da1b25d9a1092d5781",
//Versions
String forgeVersion = "1.8-11.14.1.1334"
String enigmaVersion = "0.10.4b"
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
repositories {
mavenCentral()
jcenter()
maven {
name "Cuchaz Custom Repository"
url "http://maven.cuchazinteractive.com"
}
maven {
name "Minecraft Library Repository"
url "https://libraries.minecraft.net"
}
maven {
name "Minecraft Forge Repository"
url "http://files.minecraftforge.net/maven"
}
}
//M3L information
version = minecraftVersion + "-0.3b"
group = "cuchaz.m3l"
dependencies {
compile 'net.minecraft:launchwrapper:1.8'
compile 'com.google.guava:guava:18.0'
compile 'org.javassist:javassist:3.19.0-GA'
compile 'ch.qos.logback:logback-classic:1.1.2'
compile 'org.slf4j:slf4j-api:1.7.10'
compile "net.minecraftforge.forge:forge:${forgeVersion}:universal"
compile fileTree(dir: dirLib, include: 'forge*.jar')
compile fileTree(dir: dirLib, include: '*deobf.jar')
compile fileTree(dir: dirNatives, include: '*.jar')
testCompile 'junit:junit:4.12'
testCompile 'org.hamcrest:hamcrest-all:1.3'
}
sourceSets {
main {
java {
srcDir 'src'
}
resources {
srcDir 'resources'
}
}
test {
java {
srcDir 'test'
}
resources {
srcDir 'testResources'
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment