fabric/build.gradle
2018-12-09 17:45:27 +01:00

40 lines
864 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"
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'