35 lines
533 B
Text
35 lines
533 B
Text
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||
|
|
||
|
plugins {
|
||
|
kotlin("jvm") version "1.8.10"
|
||
|
id("org.openjfx.javafxplugin") version "0.0.13"
|
||
|
application
|
||
|
}
|
||
|
|
||
|
group = "io.github.norbipeti"
|
||
|
version = "1.0-SNAPSHOT"
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
testImplementation(kotlin("test"))
|
||
|
}
|
||
|
|
||
|
tasks.test {
|
||
|
useJUnitPlatform()
|
||
|
}
|
||
|
|
||
|
tasks.withType<KotlinCompile> {
|
||
|
kotlinOptions.jvmTarget = "16"
|
||
|
}
|
||
|
|
||
|
application {
|
||
|
mainClass.set("MainKt")
|
||
|
}
|
||
|
|
||
|
javafx {
|
||
|
modules("javafx.controls", "javafx.fxml")
|
||
|
}
|