40 lines
1007 B
Plaintext
40 lines
1007 B
Plaintext
plugins {
|
|
id("inceptum.application-standalone-conventions")
|
|
}
|
|
|
|
application {
|
|
mainClass.set("io.gitlab.jfronny.inceptum.Inceptum")
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":launcher"))
|
|
implementation(project(":launcher-cli"))
|
|
implementation(project(":launcher-imgui"))
|
|
}
|
|
|
|
tasks.shadowJar {
|
|
archiveClassifier.set(rootProject.extra["flavorProp"] as String)
|
|
archiveBaseName.set("Inceptum")
|
|
exclude("about.html")
|
|
exclude("plugin.properties")
|
|
exclude("META-INF/**")
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
if (rootProject.hasProperty("dist.platformOnly")) {
|
|
create<MavenPublication>("shadowed") {
|
|
artifact(tasks.shadowJar) {
|
|
builtBy(tasks.shadowJar)
|
|
artifactId = "Inceptum"
|
|
}
|
|
}
|
|
} else {
|
|
create<MavenPublication>("mavenJava") {
|
|
artifact(tasks.jar) {
|
|
builtBy(tasks.jar)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |