hotfix, blame past me
This commit is contained in:
parent
c3b6459738
commit
fd7fd69306
|
@ -32,7 +32,8 @@ shadowJar {
|
||||||
classifier ''
|
classifier ''
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
include(project(":core"))
|
include project(":core")
|
||||||
|
include project(":api")
|
||||||
}
|
}
|
||||||
|
|
||||||
exclude 'dummyThing'
|
exclude 'dummyThing'
|
||||||
|
|
|
@ -31,7 +31,8 @@ shadowJar {
|
||||||
classifier ''
|
classifier ''
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
include(project(":core"))
|
include project(":core")
|
||||||
|
include project(":api")
|
||||||
}
|
}
|
||||||
|
|
||||||
exclude 'dummyThing'
|
exclude 'dummyThing'
|
||||||
|
|
|
@ -31,8 +31,9 @@ shadowJar {
|
||||||
classifier ''
|
classifier ''
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
include(project(":core"))
|
include project(":core")
|
||||||
}
|
include project(":api")
|
||||||
|
}
|
||||||
|
|
||||||
exclude 'dummyThing'
|
exclude 'dummyThing'
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,6 +28,7 @@ configurations {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
shade project(":core")
|
shade project(":core")
|
||||||
|
shade project(":api")
|
||||||
}
|
}
|
||||||
|
|
||||||
minecraft {
|
minecraft {
|
||||||
|
|
|
@ -8,6 +8,11 @@ buildscript {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
plugins {
|
||||||
|
id "com.github.johnrengelman.shadow" version "1.2.4"
|
||||||
|
}
|
||||||
|
|
||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
|
|
||||||
sourceCompatibility = targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.
|
sourceCompatibility = targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.
|
||||||
|
@ -28,4 +33,12 @@ compileKotlin {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
jvmTarget = "1.8"
|
jvmTarget = "1.8"
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
shadowJar {
|
||||||
|
classifier ''
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
include project(":api")
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -5,7 +5,7 @@ import matterlink.api.ApiMessage
|
||||||
import matterlink.api.MessageHandler
|
import matterlink.api.MessageHandler
|
||||||
import matterlink.mapFormat
|
import matterlink.mapFormat
|
||||||
|
|
||||||
object MessageHandlerInst : MessageHandler()
|
object MessageHandlerInst: MessageHandler()
|
||||||
|
|
||||||
fun ApiMessage.format(fmt: String): String {
|
fun ApiMessage.format(fmt: String): String {
|
||||||
return fmt.mapFormat(
|
return fmt.mapFormat(
|
||||||
|
|
Loading…
Reference in New Issue