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:pomf:18w49a.19" modCompile "net.fabricmc:fabric-loader:0.2.0.53" } 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'