Minestom/demo/build.gradle.kts

24 lines
644 B
Plaintext
Raw Normal View History

2022-01-02 07:29:09 +01:00
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
2022-01-01 18:27:52 +01:00
plugins {
application
id("minestom.common-conventions")
id("minestom.native-conventions")
2022-01-02 07:29:09 +01:00
id("com.github.johnrengelman.shadow") version ("7.1.1")
2022-01-01 18:27:52 +01:00
}
application {
mainClass.set("net.minestom.demo.Main")
// This is included because Shadow is buggy. Wait for https://github.com/johnrengelman/shadow/issues/613 to befixed.
@Suppress("DEPRECATION")
mainClassName = "net.minestom.demo.Main"
}
dependencies {
implementation(rootProject)
implementation(libs.jNoise)
2022-01-02 07:29:09 +01:00
}
tasks.withType<ShadowJar> {
archiveFileName.set("minestom-demo.jar")
2022-01-01 18:27:52 +01:00
}