-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
97 lines (78 loc) · 2.58 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
plugins {
kotlin("multiplatform")
id("org.jetbrains.compose")
}
group = "com.example"
version = "1.0-SNAPSHOT"
repositories {
google()
mavenCentral()
maven { url = uri("https://jitpack.io") }
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
kotlin {
jvm {
withJava()
}
sourceSets {
val jvmMain by getting {
dependencies {
implementation(compose.desktop.currentOs) {
exclude(group = "androidx.compose.material")
exclude(group = "org.jetbrains.compose.material")
}
implementation(compose.material3)
// api(compose.foundation)
api(compose.animation)
api(compose.runtime)
implementation("org.jetbrains.compose.material3:material3-desktop:1.2.1")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.2")
// Viewmodel
api("moe.tlaster:precompose:1.4.3")
api("moe.tlaster:precompose-viewmodel:1.4.3")
implementation("org.apache.tika:tika-core:2.8.0")
implementation("org.apache.tika:tika-parsers-standard-package:2.8.0")
// implementation("commons-io:commons-io:2.13.0")
// Database
implementation("org.xerial:sqlite-jdbc:3.30.1")
implementation("org.jetbrains.exposed:exposed-core:0.40.1")
implementation("org.jetbrains.exposed:exposed-dao:0.40.1")
implementation("org.jetbrains.exposed:exposed-jdbc:0.40.1")
// Storage
implementation("com.russhwolf:multiplatform-settings-no-arg:1.0.0")
// vlc bridge
implementation("uk.co.caprica:vlcj:4.8.2")
implementation("net.jthink:jaudiotagger:3.0.1")
// preference storage
implementation("com.russhwolf:multiplatform-settings:1.0.0")
// Dbus api
implementation("com.github.hypfvieh:dbus-java-core:4.3.0")
// https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core
// implementation("org.apache.logging.log4j:log4j-core:3.0.0-alpha1")
// implementation("org.slf4j:slf4j-simple:2.0.7")
// https://mvnrepository.com/artifact/org.openjfx/javafx-media
// implementation("org.openjfx:javafx-media:21-ea+24")
// implementation("org.openjfx:javafx-base:20.0.1:linux")
// implementation("org.openjfx:javafx-media:20.0.1:linux")
// implementation("org.openjfx:javafx-graphics:20.0.1:linux")
}
}
val jvmTest by getting {
dependencies {
implementation("org.jetbrains.kotlin:kotlin-test:1.9.0")
}
}
}
}
compose.desktop {
application {
mainClass = "MainKt"
nativeDistributions {
targetFormats(TargetFormat.AppImage)
packageName = "Yello"
packageVersion = "1.0.0"
modules("java.sql")
}
}
}