|
1 | | -//import org.jetbrains.compose.desktop.application.dsl.TargetFormat |
2 | | -// |
3 | | -//plugins { |
4 | | -// alias(libs.plugins.kotlinMultiplatform) |
5 | | -// alias(libs.plugins.jetbrainsCompose) |
6 | | -// id("org.jetbrains.kotlin.plugin.serialization") version "1.9.0" |
7 | | -// id ("org.openjfx.javafxplugin") version "0.0.13" |
8 | | -//} |
9 | | -// |
10 | | -//repositories { |
11 | | -// mavenCentral() |
12 | | -// google() |
13 | | -// maven("https://maven.pkg.jetbrains.space/public/p/compose/dev") |
14 | | -// maven("https://jitpack.io") |
15 | | -//} |
16 | | -// |
17 | | -//kotlin { |
18 | | -// jvm("desktop") { |
19 | | -// compilations.all { |
20 | | -// kotlinOptions.jvmTarget = "17" |
21 | | -// } |
22 | | -// } |
23 | | -// |
24 | | -// sourceSets { |
25 | | -// val desktopMain by getting { |
26 | | -// dependencies { |
27 | | -// implementation(compose.desktop.currentOs) |
28 | | -// implementation("ch.qos.logback:logback-classic:1.4.11") |
29 | | -// implementation("org.slf4j:slf4j-api:2.0.9") |
30 | | -// implementation("io.ktor:ktor-client-core:2.3.7") |
31 | | -// implementation("io.ktor:ktor-client-cio:2.3.7") |
32 | | -// implementation("io.ktor:ktor-client-content-negotiation:2.3.7") |
33 | | -// implementation("io.ktor:ktor-serialization-kotlinx-json:2.3.7") |
34 | | -// implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0") |
35 | | -// implementation("org.slf4j:slf4j-simple:2.0.9") |
36 | | -// } |
37 | | -// } |
38 | | -// val koin_version = "4.0.3" |
39 | | -// |
40 | | -// commonMain.dependencies { |
41 | | -// implementation(compose.runtime) |
42 | | -// implementation(compose.foundation) |
43 | | -// implementation(compose.material) |
44 | | -// implementation(compose.ui) |
45 | | -// implementation(compose.components.resources) |
46 | | -// implementation(compose.components.uiToolingPreview) |
47 | | -// implementation("com.darkrockstudios:mpfilepicker:3.1.0") |
48 | | -// |
49 | | -// // Koin |
50 | | -// implementation(platform("io.insert-koin:koin-bom:$koin_version")) |
51 | | -// implementation("io.insert-koin:koin-core") |
52 | | -// implementation("io.insert-koin:koin-core-coroutines") |
53 | | -// implementation("io.insert-koin:koin-compose") |
54 | | -// implementation("io.insert-koin:koin-compose-viewmodel") |
55 | | -// implementation("io.insert-koin:koin-logger-slf4j") |
56 | | -// |
57 | | -// // Ktor for HTTP requests |
58 | | -// implementation("io.ktor:ktor-client-core:2.3.8") |
59 | | -// implementation("io.ktor:ktor-client-cio:2.3.8") |
60 | | -// implementation("io.ktor:ktor-client-content-negotiation:2.3.8") |
61 | | -// implementation("io.ktor:ktor-serialization-kotlinx-json:2.3.8") |
62 | | -// |
63 | | -// // Kotlinx Serialization |
64 | | -// implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0") |
65 | | -// |
66 | | -// api("io.github.qdsfdhvh:image-loader:1.7.8") |
67 | | -// api("io.github.qdsfdhvh:image-loader-extension-moko-resources:1.7.8") |
68 | | -// } |
69 | | -// } |
70 | | -//} |
71 | | -// |
72 | | -//compose.desktop { |
73 | | -// application { |
74 | | -// mainClass = "main.MainKt" |
75 | | -// jvmArgs += listOf("-Xmx2G") |
76 | | -// buildTypes { |
77 | | -// release { |
78 | | -// proguard { |
79 | | -// configurationFiles.from("compose-desktop.pro") |
80 | | -// } |
81 | | -// } |
82 | | -// } |
83 | | -// nativeDistributions { |
84 | | -// targetFormats(TargetFormat.Exe) |
85 | | -// packageName = "RadioBrowser" |
86 | | -// packageVersion = "1.0.1" |
87 | | -// windows { |
88 | | -// iconFile.set(project.file("src/commonMain/composeResources/drawable/icon.ico")) |
89 | | -// } |
90 | | -// } |
91 | | -// } |
92 | | -//} |
93 | | -// |
94 | | -//tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> { |
95 | | -// kotlinOptions { |
96 | | -// jvmTarget = "17" |
97 | | -// freeCompilerArgs = listOf("-Xjsr305=strict") |
98 | | -// } |
99 | | -//} |
100 | | - |
101 | 1 | import org.jetbrains.compose.desktop.application.dsl.TargetFormat |
102 | 2 |
|
103 | 3 | plugins { |
@@ -166,11 +66,13 @@ compose.desktop { |
166 | 66 | windows { |
167 | 67 | iconFile.set(project.file("src/commonMain/composeResources/drawable/icon.ico")) |
168 | 68 | shortcut = true |
| 69 | + copyright ="Copyright 2025 Aria Danesh" |
| 70 | + description="A modern desktop application for browsing and streaming radio stations, built with Kotlin Multiplatform and Compose Desktop." |
169 | 71 | } |
170 | 72 | appResourcesRootDir.set(project.layout.projectDirectory.dir("resources")) |
171 | 73 | includeAllModules = true |
172 | 74 | packageName = "RadioBrowser" |
173 | | - packageVersion = "1.0.3" |
| 75 | + packageVersion = "1.0.4" |
174 | 76 | } |
175 | 77 | } |
176 | 78 | } |
0 commit comments