This commit is contained in:
NianChen
2023-04-13 18:06:05 +08:00
commit e5873ae6fe
4063 changed files with 267552 additions and 0 deletions

View File

@ -0,0 +1,32 @@
// Suppress annotation is a workaround for a bug.
@Suppress("DSL_SCOPE_VIOLATION")
plugins {
kotlin("multiplatform")
id("org.jetbrains.compose")
}
group = extra["GROUP"] as String
version = extra["VERSION_NAME"] as String
kotlin {
jvm {
compilations.all {
kotlinOptions.jvmTarget = "11"
}
withJava()
}
sourceSets {
named("jvmMain") {
dependencies {
implementation(compose.runtime)
implementation(compose.ui)
api("net.java.dev.jna:jna-platform:latest.release")
}
}
}
}