-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
61 lines (52 loc) · 1.63 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
60
61
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.9.20"
id("org.jetbrains.compose") version "1.5.10"
}
group = "me.shumk"
version = "1.0"
val exposedVersion: String by project
repositories {
google()
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
dependencies {
testImplementation(kotlin("test"))
implementation(compose.desktop.currentOs)
testImplementation("junit:junit:4.13.1")
// Koin
implementation("io.insert-koin:koin-core:3.2.2")
testImplementation ("io.insert-koin:koin-test:3.2.2")
//Exposed
implementation("org.jetbrains.exposed:exposed-core:$exposedVersion")
implementation("org.jetbrains.exposed:exposed-dao:$exposedVersion")
implementation("org.jetbrains.exposed:exposed-jdbc:$exposedVersion")
implementation("com.h2database:h2:2.1.214")
testImplementation("junit:junit:4.13.1")
implementation("org.slf4j:slf4j-api:2.0.6")
}
tasks.test {
useJUnit()
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "11"
kotlinOptions {
freeCompilerArgs = freeCompilerArgs + "-opt-in=kotlin.RequiresOptIn"
}
}
compose.desktop {
application {
mainClass = "MainKt"
nativeDistributions {
modules("java.sql")
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
packageName = "FractalViewr"
packageVersion = "1.0.0"
windows {
iconFile.set(project.file("mandelbrot_icon.ico"))
}
}
}
}