-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
46 lines (40 loc) · 1.34 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
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
// there is no god
plugins {
kotlin("jvm") version "1.9.20"
id("org.jetbrains.compose") version "1.5.11"
id("org.jetbrains.dokka") version "1.9.10"
}
group = "com.xephyrous"
version = "1.0-SNAPSHOT"
repositories {
google()
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
maven("https://dl.bintray.com/kotlin/dokka")
maven("https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven")
maven("https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-reflect")
}
dependencies {
implementation(compose.desktop.currentOs)
implementation(compose.ui)
implementation(compose.material)
implementation(compose.material3)
implementation(kotlin("reflect"))
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-swing:1.7.3")
implementation("com.mohamedrejeb.dnd:compose-dnd:0.2.0")
}
compose.desktop {
application {
mainClass = "MainKt"
nativeDistributions {
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
packageName = "Image_Crunch"
packageVersion = "1.0.0"
}
}
}
tasks.dokkaHtml.configure {
outputDirectory.set(file("docs/html"))
}