12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- 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'
- apply plugin: 'eclipse'
- version = '4.0.1'
- group = 'com.blamejared.controlling'
- archivesBaseName = 'Controlling'
- sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8'
- minecraft {
- mappings channel: 'snapshot', version: '20180921-1.13'
- runs {
- client = {
- // recommended logging data for a userdev environment
- properties 'forge.logging.markers': 'SCAN,REGISTRIES,REGISTRYDUMP'
- // recommended logging level for the console
- properties 'forge.logging.console.level': 'debug'
- workingDirectory project.file('run').canonicalPath
- source sourceSets.main
- }
- server = {
- // recommended logging data for a userdev environment
- properties 'forge.logging.markers': 'SCAN,REGISTRIES,REGISTRYDUMP'
- // recommended logging level for the console
- 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'
- }
- jar {
- manifest {
- attributes(["Specification-Title" : "controlling",
- "Specification-Vendor" : "BlameJared",
- "Specification-Version" : "24.0", // We are version 1 of the modlauncher specification
- "Implementation-Title" : project.name,
- "Implementation-Version" : "${version}",
- "Implementation-Vendor" : "controlling",
- "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")],)
- }
- }
|