visionforge/plotly/examples/native-demo/build.gradle.kts

31 lines
552 B
Plaintext
Raw Normal View History

2024-06-04 22:47:56 +03:00
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("multiplatform")
}
repositories {
mavenCentral()
maven("https://repo.kotlin.link")
}
kotlin {
linuxX64{
binaries{
executable()
}
}
sourceSets{
commonMain {
dependencies {
implementation(project(":plotly:plotlykt-core"))
}
}
}
}
tasks.withType<KotlinCompile> {
kotlinOptions.freeCompilerArgs = kotlinOptions.freeCompilerArgs +"-Xopt-in=kotlin.RequiresOptIn"
}