mirror of
https://github.com/gotson/komga.git
synced 2025-12-06 08:32:25 +01:00
48 lines
976 B
Text
48 lines
976 B
Text
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
plugins {
|
|
run {
|
|
kotlin("jvm")
|
|
kotlin("plugin.spring")
|
|
}
|
|
id("com.gorylenko.gradle-git-properties") version "2.4.2"
|
|
id("org.jetbrains.compose") version "1.5.11"
|
|
id("dev.hydraulic.conveyor") version "1.12"
|
|
application
|
|
}
|
|
|
|
group = "org.gotson"
|
|
|
|
tasks {
|
|
withType<JavaCompile> {
|
|
sourceCompatibility = "17"
|
|
targetCompatibility = "17"
|
|
}
|
|
withType<KotlinCompile> {
|
|
kotlinOptions {
|
|
jvmTarget = "17"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":komga"))
|
|
|
|
implementation(compose.desktop.currentOs)
|
|
|
|
linuxAmd64(compose.desktop.linux_x64)
|
|
macAmd64(compose.desktop.macos_x64)
|
|
macAarch64(compose.desktop.macos_arm64)
|
|
windowsAmd64(compose.desktop.windows_x64)
|
|
}
|
|
|
|
application {
|
|
mainClass = "org.gotson.komga.DesktopApplicationKt"
|
|
}
|
|
|
|
// Work around temporary Compose bugs
|
|
configurations.all {
|
|
attributes {
|
|
attribute(Attribute.of("ui", String::class.java), "awt")
|
|
}
|
|
}
|