blob: 4800103aa7b44f7225c6e4a72aaf26b7c77b36b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
import java.net.URI
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
java
kotlin("jvm") version "1.3.72"
id("com.github.johnrengelman.shadow") version "4.0.4"
}
group = "org.example"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven { url = URI("https://jitpack.io") }
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation("com.github.privatejava", "javafx-autocomplete-field", "-SNAPSHOT")
implementation("no.tornado", "tornadofx", "1.7.20")
testImplementation("junit", "junit", "4.12")
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
}
tasks {
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
}
tasks {
named<ShadowJar>("shadowJar") {
archiveBaseName.set("shadow")
mergeServiceFiles()
manifest {
attributes(mapOf("Main-Class" to "buesgenapp.BuesgenAppKt"))
}
}
}
tasks {
build {
dependsOn(shadowJar)
}
}
|