fabric/build.gradle

43 lines
947 B
Groovy

buildscript {
repositories {
jcenter()
maven {
name = 'Fabric'
url = 'http://maven.fabricmc.net/'
}
}
dependencies {
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"
version = "0.1.0"
def ENV = System.getenv()
version = version + "." + (ENV.BUILD_NUMBER ?: "local")
minecraft {
refmapName = "net.fabricmc.fabric.refmap.json"
}
dependencies {
minecraft "com.mojang:minecraft:18w49a"
mappings "net.fabricmc:yarn:18w49a.11"
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'