43 lines
1.2 KiB
Groovy
43 lines
1.2 KiB
Groovy
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url = "https://maven.minecraftforge.net"
|
|
}
|
|
}
|
|
dependencies {
|
|
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '4.1.+', changing: true
|
|
}
|
|
}
|
|
|
|
apply plugin: 'net.minecraftforge.gradle'
|
|
|
|
archivesBaseName = 'WitcheryTombstonePatch'
|
|
version = '0.1'
|
|
|
|
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8'
|
|
|
|
minecraft {
|
|
mappings channel: 'stable', version: '39-1.12'
|
|
|
|
runs {
|
|
client {
|
|
workingDirectory project.file('run/client')
|
|
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
|
|
property 'forge.logging.console.level', 'debug'
|
|
}
|
|
server {
|
|
workingDirectory project.file('run/server')
|
|
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
|
|
property 'forge.logging.console.level', 'debug'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
minecraft 'net.minecraftforge:forge:1.12.2-14.23.5.2860'
|
|
|
|
implementation files('libs/tombstone-4.5.8-1.12.2-api.jar')
|
|
}
|
|
|
|
jar.finalizedBy('reobfJar')
|