fixup! Bump various dependencies
Some checks failed
Build & Test / Run Unit Tests (push) Has been cancelled
Build & Test / Validate (push) Successful in 2m28s

This commit is contained in:
William Brawner 2024-11-16 17:46:57 -07:00
parent f2d5687a5f
commit dba5313c74
Signed by: wbrawner
GPG key ID: 8FF12381C6C90D35

View file

@ -1,38 +1,15 @@
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
plugins {
kotlin("jvm")
id("org.jetbrains.compose")
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.compose)
alias(libs.plugins.jetbrainsCompose)
java
}
group = "com.wbrawner.pihelper"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
google()
}
val osName = System.getProperty("os.name")
val targetOs = when {
osName == "Mac OS X" -> "macos"
osName.startsWith("Win") -> "windows"
osName.startsWith("Linux") -> "linux"
else -> error("Unsupported OS: $osName")
}
val targetArch = when (val osArch = System.getProperty("os.arch")) {
"x86_64", "amd64" -> "x64"
"aarch64" -> "arm64"
else -> error("Unsupported arch: $osArch")
}
val skikoVersion = "0.7.77" // or any more recent version
val target = "${targetOs}-${targetArch}"
dependencies {
// Note, if you develop a library, you should use compose.desktop.common.
// compose.desktop.currentOs should be used in launcher-sourceSet
@ -40,9 +17,8 @@ dependencies {
// With compose.desktop.common you will also lose @Preview functionality
implementation(project(":shared"))
implementation(compose.desktop.currentOs)
// implementation("org.jetbrains.skiko:skiko-awt-runtime-$target:$skikoVersion")
implementation(libs.kotlinx.coroutines.jvm)
implementation("ch.qos.logback:logback-classic:1.4.5")
implementation(libs.logback.classic)
}
compose.desktop {