3
kotlin("plugin.serialization")
5
id("org.openjfx.javafxplugin")
8
group = project.property("HRMgroup") as String + ".client"
9
version = project.property("HRMversion") as String
10
val mainClazz = "$group.app.MyApp"
11
val applicationName = "HRM Client"
14
implementation(project(":core"))
15
implementation(kotlin("stdlib-jdk8"))
16
implementation("no.tornado:tornadofx:1.7.20")
17
implementation("eu.hansolo:tilesfx:11.43")
18
implementation("eu.hansolo:Medusa:11.5")
19
implementation("eu.hansolo:regulators:11.7")
20
implementation("org.kordamp.ikonli:ikonli-javafx:11.5.0")
21
implementation("org.kordamp.ikonli:ikonli-material-pack:11.5.0")
22
implementation("org.kordamp.ikonli:ikonli-materialdesign-pack:11.5.0")
23
implementation("org.kordamp.ikonli:ikonli-weathericons-pack:11.5.0")
24
implementation("org.kordamp.ikonli:ikonli-fontawesome-pack:11.5.0")
25
implementation("io.ktor:ktor-network:1.6.7")
26
implementation("io.ktor:ktor-client-core:1.6.7")
27
implementation("io.ktor:ktor-client-java:1.6.7")
28
implementation("io.ktor:ktor-client-serialization:1.6.7")
29
implementation("io.ktor:ktor-client-logging-jvm:1.6.7")
30
/*implementation("com.dorkbox:SystemTray:3.17")
31
implementation("net.java.dev.jna:jna:5.5.0")
32
implementation("net.java.dev.jna:jna-platform:5.5.0")*/
33
implementation("javax.xml.bind:jaxb-api:2.3.1")
35
implementation("org.slf4j:slf4j-simple:1.6.1")
36
implementation("de.codecentric.centerdevice:javafxsvg:1.3.0")
41
kotlinOptions.jvmTarget = "1.8"
44
kotlinOptions.jvmTarget = "1.8"
50
modules = listOf("javafx.controls", "javafx.graphics")
51
// configuration = "compileOnly"
55
applicationName = rootProject.name
56
mainClassName = mainClazz
59
val jar by tasks.getting(Jar::class) {
61
attributes["Manifest-Version"] = version
62
attributes["Main-Class"] = mainClazz
63
attributes["Application-Name"] = applicationName
65
from(configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) })