Skip to content

Commit

Permalink
feat: Java 11+ support
Browse files Browse the repository at this point in the history
Yoinked from Displee#5
  • Loading branch information
notmeta committed Aug 13, 2022
1 parent fc418ad commit 01e0c0f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ buildscript {
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version "$kotlin_version"
id 'org.openjfx.javafxplugin' version "0.0.9"
}

archivesBaseName = 'cs2-editor'
Expand Down Expand Up @@ -61,6 +62,10 @@ tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}

javafx {
modules = ["javafx.controls", "javafx.fxml"]
}

jar {
destinationDirectory = file("$rootDir")
manifest {
Expand Down

0 comments on commit 01e0c0f

Please sign in to comment.