aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
blob: 5c35f159840419ca711fcfd6e8b1c2c6a32b360c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
plugins {
    id 'application'
    id 'org.openjfx.javafxplugin' version '0.1.0'
}

repositories {
    mavenCentral()
}

java {
    toolchain {
        languageVersion = JavaLanguageVersion.of(21)
    }
}

javafx {
    version = '21.0.5'
    modules = [ 'javafx.controls', 'javafx.fxml' ]
}

application {
    mainClass = 'com.example.App'
}

tasks.withType(JavaCompile).configureEach {
    options.encoding = 'UTF-8'
}