buildscript { repositories { jcenter() maven { name = 'Fabric' url = 'https://maven.fabricmc.net/' } } dependencies { classpath "net.fabricmc:fabric-loom:0.2.7-SNAPSHOT" } } apply plugin: 'fabric-loom' apply plugin: 'java' apply plugin: 'idea' group 'com.irtimaled' version project.buildVersion + '-' + project.mcVersion archivesBaseName = 'BBOutlineReloaded' sourceCompatibility = 1.8 targetCompatibility = 1.8 dependencies { minecraft 'com.mojang:minecraft:' + project.mcVersion mappings 'net.fabricmc:yarn:' + project.mcVersion + '+build.9' modCompile 'net.fabricmc:fabric-loader:0.8.3+build.196' } minecraft { refmapName = 'mixins.bbor.refmap.json' } processResources { filesMatching('fabric.mod.json') { expand version: project.version } } jar { manifest { attributes([ "Main-Class": "com.irtimaled.bbor.Main", "Specification-Title": "bbor", "Specification-Vendor": "Irtimaled", "Specification-Version": "1", // We are version 1 of ourselves "Implementation-Title": project.name, "Implementation-Version": "${version}", "Implementation-Vendor": "Irtimaled", "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ") ]) } } afterEvaluate { remapJar.classifier = 'fabric' }