buildscript { repositories { maven { url = 'https://files.minecraftforge.net/maven' } jcenter() mavenCentral() } dependencies { classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true } } apply plugin: 'net.minecraftforge.gradle' version = "${version_minecraft}-${version_mod}" group = "${mod_group}.${mod_id}" archivesBaseName = "${mod_id}" sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' minecraft { mappings channel: 'snapshot', version: '20180921-1.13' runs { client = { properties 'forge.logging.markers': 'SCAN,REGISTRIES,REGISTRYDUMP' properties 'forge.logging.console.level': 'debug' workingDirectory project.file('run').canonicalPath source sourceSets.main } server = { properties 'forge.logging.markers': 'SCAN,REGISTRIES,REGISTRYDUMP' properties 'forge.logging.console.level': 'debug' workingDirectory project.file('run').canonicalPath source sourceSets.main } } } dependencies { minecraft 'net.minecraftforge:forge:1.13.2-25.0.10' } sourceSets { main { resources { srcDirs += 'docs' } } } jar { manifest { attributes(["Specification-Title": "${archivesBaseName}", "Specification-Vendor": "C4", "Specification-Version": "24.0", "Implementation-Title": project.name, "Implementation-Version": "${version}", "Implementation-Vendor" :"C4", "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")],) } }