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

36 lines
697 B
Plaintext
Raw Normal View History

2024-06-04 22:47:56 +03:00
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm")
application
id("org.openjfx.javafxplugin") version "0.0.10"
}
repositories {
mavenCentral()
maven("https://repo.kotlin.link")
}
dependencies {
implementation(project(":plotly:plotlykt-server"))
implementation("no.tornado:tornadofx:1.7.20")
implementation(spclibs.logback.classic)
}
javafx{
modules("javafx.web")
version = "11"
}
application {
mainClass.set("space.kscience.plotly.fx.PlotlyFXAppKt")
}
kotlin{
jvmToolchain(11)
}
tasks.withType<KotlinCompile> {
kotlinOptions.freeCompilerArgs = kotlinOptions.freeCompilerArgs +"-Xopt-in=kotlin.RequiresOptIn"
}