39 lines
783 B
Groovy
Executable File
39 lines
783 B
Groovy
Executable File
plugins {
|
|
id 'org.jetbrains.kotlin.jvm' version '1.4.10'
|
|
id 'org.openjfx.javafxplugin' version '0.0.8'
|
|
id 'idea'
|
|
}
|
|
|
|
group 'com.bartlomiejpluta.base'
|
|
version 'unspecified'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
|
|
}
|
|
|
|
sourceSets {
|
|
main.kotlin.srcDirs += 'src/main/kotlin'
|
|
}
|
|
|
|
javafx {
|
|
version = "11.0.2"
|
|
modules = ['javafx.controls', 'javafx.graphics']
|
|
}
|
|
|
|
|
|
|
|
compileKotlin {
|
|
kotlinOptions.jvmTarget = "14"
|
|
}
|
|
|
|
compileTestKotlin {
|
|
kotlinOptions.jvmTarget = "14"
|
|
}
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib"
|
|
implementation "no.tornado:tornadofx:${tornadoFxVersion}"
|
|
implementation "org.joml:joml:${jomlVersion}"
|
|
}
|