This repository has been archived by the owner on Oct 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
52 lines (44 loc) · 1.54 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
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
plugins {
kotlin("jvm")
id("org.jetbrains.compose")
}
group = "me.sudodios.plaudio"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
google()
}
dependencies {
implementation(compose.desktop.currentOs)
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
implementation("dev.icerock.moko:mvvm-livedata-compose:0.16.1")
implementation("io.github.alexgladkov:odyssey-core:1.3.20")
implementation("io.github.alexgladkov:odyssey-compose:1.3.20")
implementation("net.jthink:jaudiotagger:3.0.1")
implementation("com.google.code.gson:gson:2.10.1")
implementation("uk.co.caprica:vlcj:4.8.2")
implementation("org.slf4j:slf4j-log4j12:2.0.9")
}
compose.desktop {
application {
mainClass = "PlaudioKt"
nativeDistributions {
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb,TargetFormat.Exe)
modules("java.sql")
packageName = "Plaudio"
packageVersion = "1.5.0"
val iconsRoot = project.file("src/main/resources")
linux {
iconFile.set(iconsRoot.resolve("icons/app_icon.png"))
}
windows {
iconFile.set(iconsRoot.resolve("icons/app_icon.ico"))
}
}
buildTypes.release.proguard {
configurationFiles.from(project.file("rules.pro").absolutePath)
}
}
}