|
@@ -0,0 +1,42 @@
|
|
|
+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'
|
|
|
+// Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
|
|
|
+//apply plugin: 'eclipse'
|
|
|
+//apply plugin: 'maven-publish'
|
|
|
+
|
|
|
+version = '1.0'
|
|
|
+group = 'me.hammerle.ktcm'
|
|
|
+archivesBaseName = 'ktcm'
|
|
|
+
|
|
|
+sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.
|
|
|
+
|
|
|
+minecraft {
|
|
|
+ mappings channel: 'snapshot', version: '20190719-1.14.3'
|
|
|
+
|
|
|
+ runs {
|
|
|
+ client {
|
|
|
+ workingDirectory project.file('run')
|
|
|
+ property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
|
|
|
+ property 'forge.logging.console.level', 'info'
|
|
|
+ }
|
|
|
+
|
|
|
+ server {
|
|
|
+ workingDirectory project.file('run')
|
|
|
+ property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
|
|
|
+ property 'forge.logging.console.level', 'info'
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+dependencies {
|
|
|
+ minecraft 'net.minecraftforge:forge:1.14.4-28.1.90'
|
|
|
+}
|