代码拉取完成,页面将自动刷新
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")
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。