-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
50 lines (43 loc) · 1.13 KB
/
build.gradle.kts
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
50
plugins {
kotlin("jvm") version "1.3.61"
application
id("org.openjfx.javafxplugin") version "0.0.8"
}
group = "com.kotmw"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation("commons-net:commons-net:3.6")
implementation("com.google.api-client:google-api-client:1.30.4")
implementation("com.google.oauth-client:google-oauth-client-jetty:1.30.4")
implementation("com.google.apis:google-api-services-sheets:v4-rev581-1.25.0")
implementation(kotlin("stdlib-jdk8"))
}
javafx {
version = "13"
modules("javafx.controls", "javafx.fxml")
}
tasks {
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
}
application {
mainClassName = "com.kotmw.eorzeatimer.MainKt"
}
val jar by tasks.getting(Jar::class) {
manifest {
attributes["Main-Class"] = "com.kotmw.eorzeatimer.MainKt"
}
from(
configurations.compileClasspath.get().map {
if (it.isDirectory) it else zipTree(it)
}
)
exclude("META-INF/*.RSA", "META-INF/*.SF", "META-INF/*.DSA")
}