You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
648 B
29 lines
648 B
3 years ago
|
import org.jetbrains.compose.compose
|
||
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||
|
|
||
|
plugins {
|
||
|
kotlin("multiplatform")
|
||
|
id("org.jetbrains.compose")
|
||
|
}
|
||
|
|
||
|
kotlin {
|
||
|
jvm {}
|
||
|
sourceSets {
|
||
|
named("jvmMain") {
|
||
|
dependencies {
|
||
|
implementation(compose.desktop.currentOs)
|
||
|
implementation(project(":AnimatedImage:library"))
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
compose.desktop {
|
||
|
application {
|
||
|
mainClass = "org.jetbrains.compose.animatedimage.demo.MainKt"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
tasks.withType<KotlinCompile>().configureEach {
|
||
|
kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
|
||
|
}
|