1
0
mirror of https://github.com/cabaletta/baritone synced 2024-12-20 06:01:15 +00:00
baritone/build.gradle

61 lines
1.4 KiB
Groovy
Raw Normal View History

2018-08-01 17:09:39 +00:00
group 'baritone'
version '1.0'
buildscript {
repositories {
maven {
name = 'forge'
url = 'http://files.minecraftforge.net/maven'
}
maven {
name = 'SpongePowered'
url = 'http://repo.spongepowered.org/maven'
}
jcenter()
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
classpath 'org.spongepowered:mixingradle:0.6-SNAPSHOT'
}
}
apply plugin: 'java'
sourceCompatibility = targetCompatibility = '1.8'
compileJava {
sourceCompatibility = targetCompatibility = '1.8'
}
apply plugin: 'net.minecraftforge.gradle.tweaker-client'
apply plugin: 'org.spongepowered.mixin'
minecraft {
version = '1.12.2'
mappings = 'snapshot_20180731'
2018-08-01 18:05:04 +00:00
tweakClass = 'baritone.launch.BaritoneTweaker'
2018-08-01 17:09:39 +00:00
runDir = 'run'
2018-08-01 18:05:04 +00:00
makeObfSourceJar = false
2018-08-01 17:09:39 +00:00
}
repositories {
mavenCentral()
maven {
name = 'spongepowered-repo'
url = 'http://repo.spongepowered.org/maven/'
}
}
dependencies {
implementation ('org.spongepowered:mixin:0.7.8-SNAPSHOT') {
// Mixin includes a lot of dependencies that are too up-to-date
exclude module: 'launchwrapper'
exclude module: 'guava'
exclude module: 'gson'
exclude module: 'commons-io'
exclude module: 'log4j-core'
}
testImplementation 'junit:junit:4.12'
}