2021-09-02 17:04:56 +02:00
|
|
|
plugins {
|
|
|
|
// Apply the application plugin to add support for building a CLI application in Java.
|
|
|
|
application
|
2021-09-19 22:13:22 +02:00
|
|
|
|
|
|
|
// For generating fat jars
|
|
|
|
id("com.github.johnrengelman.shadow") version "latest.release"
|
2021-09-02 17:04:56 +02:00
|
|
|
}
|
|
|
|
|
2021-09-19 19:23:45 +02:00
|
|
|
group = "de.jotoho"
|
2021-09-19 20:43:17 +02:00
|
|
|
version = "0.1.1"
|
2021-09-19 19:23:45 +02:00
|
|
|
|
2021-09-02 17:04:56 +02:00
|
|
|
repositories {
|
|
|
|
// Use Maven Central for resolving dependencies.
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
2021-09-05 21:12:28 +02:00
|
|
|
java {
|
2021-12-01 12:30:21 +01:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
|
|
targetCompatibility = JavaVersion.VERSION_17
|
2021-09-05 21:12:28 +02:00
|
|
|
}
|
|
|
|
|
2021-09-19 22:13:22 +02:00
|
|
|
tasks.jar {
|
|
|
|
manifest {
|
|
|
|
attributes(
|
2021-12-01 14:36:07 +01:00
|
|
|
"Implementation-Title" to "de.jotoho.waituntil",
|
2021-09-19 22:13:22 +02:00
|
|
|
"Implementation-Version" to "${project.version}",
|
2021-12-01 14:36:07 +01:00
|
|
|
"Main-Class" to "de.jotoho.waituntil.Main"
|
2021-09-19 22:13:22 +02:00
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-02 17:04:56 +02:00
|
|
|
application {
|
|
|
|
// Define the main class for the application.
|
2021-12-01 14:36:07 +01:00
|
|
|
mainClass.set("de.jotoho.waituntil.Main")
|
2021-09-02 17:04:56 +02:00
|
|
|
}
|