-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
51 lines (44 loc) · 1.03 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
plugins {
kotlin("multiplatform") version "1.7.10"
}
group = "me.purofle"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
kotlin {
sourceSets {
val commonMain by getting {
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-cli:0.3.5")
}
}
findByName("windowsMain")?.apply {
dependsOn(commonMain)
}
findByName("linuxMain")?.apply {
dependsOn(commonMain)
}
}
linuxX64("linux") {
compilations["main"].enableEndorsedLibs = true
binaries {
binaries {
executable {
entryPoint = "com.github.purofle.fadian.main"
}
}
}
}
val windows = mingwX64("windows") {
binaries {
binaries {
binaries {
executable {
entryPoint = "com.github.purofle.fadian.main"
}
}
}
}
}
}