EStandardChartTheme uses pattern matching. Requires --enabble-preview in tasks.
@@ -187,8 +187,16 @@ javafx {
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
+ options.compilerArgs += "--enable-preview"
}
+tasks.withType(Test) {
+ jvmArgs += "--enable-preview"
+}
+
+tasks.withType(JavaExec) {
+ jvmArgs += '--enable-preview'
+}
/*
* Set the basic Java runtime parameters (heap size etc.)
