-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle.kts
52 lines (44 loc) · 1.15 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
51
52
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.kotlin.plugin.serialization)
alias(libs.plugins.compose)
alias(libs.plugins.ktlint)
}
group = "com.jerryjeon"
version = "1.5.4"
tasks.test {
useJUnitPlatform()
}
repositories {
google()
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
dependencies {
implementation(compose.desktop.currentOs)
implementation(libs.okio.okio)
implementation(libs.coroutines.core)
implementation(libs.coroutines.swing)
implementation(libs.kotlinx.serialization.json)
implementation(libs.compose.material.icons)
testImplementation(libs.jupiter)
testImplementation(libs.kotest.assertions)
}
tasks {
withType<JavaCompile> {
sourceCompatibility = "18"
targetCompatibility = "18"
}
withType<KotlinCompile> {
kotlinOptions.jvmTarget = "18"
}
}
compose.desktop {
application {
mainClass = "com.jerryjeon.logjerry.MainKt"
buildTypes.release.proguard {
configurationFiles.from("proguard-rules.pro")
}
}
}