-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
47 lines (39 loc) · 1.04 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.7.21"
application
}
group = "me.dormage"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
testImplementation(kotlin("test"))
implementation("com.formdev:flatlaf:3.0")
implementation("io.github.bitstorm:tinyzip-core:1.0.0")
implementation("it.zielke:moji:1.0.1")
implementation("org.jsoup:jsoup:1.14.3")
implementation("com.fifesoft:rsyntaxtextarea:3.3.1")
implementation("org.apache.poi:poi-excelant:5.2.3")
implementation("org.apache.poi:poi-ooxml:3.9")
implementation("org.xerial:sqlite-jdbc:3.40.0.0")
}
tasks.test {
useJUnitPlatform()
}
tasks.jar {
manifest {
attributes["Main-Class"] = "MainKt"
}
configurations["compileClasspath"].forEach { file: File ->
from(zipTree(file.absoluteFile))
}
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "11"
}
application {
mainClass.set("MainKt")
}