2018-11-05 09:54:00 -05:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
maven {
|
|
|
|
name = 'Fabric'
|
2018-12-09 11:45:27 -05:00
|
|
|
url = 'http://maven.fabricmc.net/'
|
2018-11-05 09:54:00 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
2018-12-09 11:45:27 -05:00
|
|
|
classpath "net.fabricmc:fabric-loom:0.1.0-SNAPSHOT"
|
2018-11-05 09:54:00 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'eclipse'
|
|
|
|
id 'idea'
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: net.fabricmc.loom.LoomGradlePlugin
|
|
|
|
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
targetCompatibility = 1.8
|
|
|
|
|
|
|
|
archivesBaseName = "fabric"
|
2018-12-09 11:45:27 -05:00
|
|
|
version = "0.1.0"
|
2018-11-05 09:54:00 -05:00
|
|
|
|
2018-12-09 11:47:35 -05:00
|
|
|
def ENV = System.getenv()
|
|
|
|
version = version + "." + (ENV.BUILD_NUMBER ?: "local")
|
|
|
|
|
2018-11-05 09:54:00 -05:00
|
|
|
minecraft {
|
|
|
|
refmapName = "net.fabricmc.fabric.refmap.json"
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2018-12-05 13:42:11 -05:00
|
|
|
minecraft "com.mojang:minecraft:18w49a"
|
2018-12-11 11:51:23 -05:00
|
|
|
mappings "net.fabricmc:yarn:18w49a.11"
|
2018-12-10 14:49:36 -05:00
|
|
|
modCompile "net.fabricmc:fabric-loader:0.2.0.62"
|
2018-11-05 09:54:00 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
apply from: 'https://github.com/FabricMC/fabric-docs/raw/master/gradle/maven.gradle'
|
|
|
|
apply from: 'https://github.com/FabricMC/fabric-docs/raw/master/gradle/license.gradle'
|
|
|
|
apply from: 'https://github.com/FabricMC/fabric-docs/raw/master/gradle/ideconfig.gradle'
|