fabric/build.gradle

44 lines
947 B
Groovy
Raw Normal View History

buildscript {
repositories {
jcenter()
maven {
name = 'Fabric'
2018-12-09 11:45:27 -05:00
url = 'http://maven.fabricmc.net/'
}
}
dependencies {
2018-12-09 11:45:27 -05:00
classpath "net.fabricmc:fabric-loom:0.1.0-SNAPSHOT"
}
}
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-12-09 11:47:35 -05:00
def ENV = System.getenv()
version = version + "." + (ENV.BUILD_NUMBER ?: "local")
minecraft {
refmapName = "net.fabricmc.fabric.refmap.json"
}
dependencies {
2018-12-05 13:42:11 -05:00
minecraft "com.mojang:minecraft:18w49a"
mappings "net.fabricmc:yarn:18w49a.11"
2018-12-10 14:49:36 -05:00
modCompile "net.fabricmc:fabric-loader:0.2.0.62"
}
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'