-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
59 lines (51 loc) · 1.82 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
53
54
55
56
57
58
59
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.7.10"
id("org.jetbrains.compose") version "1.2.0"
}
group = "com.numq"
version = "1.0"
repositories {
mavenCentral()
maven {
url = uri("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
}
val composeVersion = "1.0.0"
val coroutinesVersion = "1.6.4"
val socketVersion = "1.5.3"
val koinVersion = "3.2.0"
val jsonVersion = "20220320"
val utilVersion = "1.6.0"
val codecVersion = "1.9"
val zxingVersion = "3.5.1"
val junitVersion = "1.8.0"
val mockkVersion = "1.9.1"
dependencies {
implementation(compose.desktop.currentOs)
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-swing:$coroutinesVersion")
implementation("org.java-websocket:Java-WebSocket:$socketVersion")
implementation("io.insert-koin:koin-core:$koinVersion")
implementation("it.czerwinski:kotlin-util:$utilVersion")
implementation("org.json:json:$jsonVersion")
implementation("commons-codec:commons-codec:$codecVersion")
implementation("org.jetbrains.compose.material:material-icons-extended-desktop:$composeVersion")
implementation("com.google.zxing:core:$zxingVersion")
testImplementation("org.jetbrains.kotlin:kotlin-test-junit5:$junitVersion")
testImplementation("io.mockk:mockk:$mockkVersion")
}
tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "1.8"
}
compose.desktop {
application {
mainClass = "application/ApplicationKt"
nativeDistributions {
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
packageName = "stash-desktop"
packageVersion = "1.0.0"
}
}
}