-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
54 lines (43 loc) · 1.49 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
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.9.0"
id("org.jetbrains.compose") version "1.5.0-beta02"
}
group = "com.paranid5.prima"
version = "0.3.0"
repositories {
google()
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
buildscript {
dependencies {
classpath("gradle.plugin.com.github.willir.rust:plugin:0.3.4")
}
}
dependencies {
implementation(compose.desktop.currentOs)
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
implementation("com.arkivanov.decompose:decompose:2.0.1")
implementation("com.arkivanov.decompose:extensions-compose-jetbrains:2.0.1")
implementation("io.insert-koin:koin-core:3.4.3")
implementation("io.insert-koin:koin-core-coroutines:3.4.3")
implementation("io.insert-koin:koin-compose:1.0.4")
implementation("com.charleskorn.kaml:kaml:0.55.0")
implementation(group = "net.jthink", name = "jaudiotagger", version = "3.0.1")
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "11"
kotlinOptions.freeCompilerArgs = listOf("-Xcontext-receivers")
}
compose.desktop {
application {
mainClass = "com.dinaraparanid.prima.Main"
nativeDistributions {
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
packageName = "PrimaPC"
packageVersion = "1.2.1"
}
}
}