Inceptum/launcher-dist/build.gradle.kts

33 lines
764 B
Plaintext
Raw Normal View History

2022-09-06 11:15:21 +02:00
plugins {
id("inceptum.application-standalone")
2022-09-06 11:15:21 +02:00
}
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/**")
}
2022-09-06 13:28:28 +02:00
(components["java"] as AdhocComponentWithVariants).withVariantsFromConfiguration(configurations["shadowRuntimeElements"]) {
2022-09-06 12:35:29 +02:00
skip()
}
2022-09-06 11:15:21 +02:00
publishing {
publications {
2022-11-03 15:39:44 +01:00
create<MavenPublication>("mavenJava") {
from(components["java"])
2022-09-06 11:15:21 +02:00
}
}
}