mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-16 15:45:21 +01:00
24 lines
644 B
Plaintext
24 lines
644 B
Plaintext
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
|
|
|
plugins {
|
|
application
|
|
id("minestom.common-conventions")
|
|
id("minestom.native-conventions")
|
|
id("com.github.johnrengelman.shadow") version ("7.1.1")
|
|
}
|
|
|
|
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)
|
|
}
|
|
|
|
tasks.withType<ShadowJar> {
|
|
archiveFileName.set("minestom-demo.jar")
|
|
} |