Fix compile errors

This commit is contained in:
yushijinhun
2018-10-03 19:20:47 +08:00
parent 8cb4ca0e8b
commit 4121921aca
3 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
plugins { plugins {
id 'com.github.johnrengelman.shadow' version '2.0.4' id 'com.github.johnrengelman.shadow' version '4.0.0'
id 'application'
} }
import java.nio.file.FileSystems import java.nio.file.FileSystems

View File

@@ -130,7 +130,7 @@ public final class ExtendedProperties {
return (ObjectProperty<Boolean>) checkbox.getProperties().computeIfAbsent( return (ObjectProperty<Boolean>) checkbox.getProperties().computeIfAbsent(
PROP_PREFIX + ".checkbox.reservedSelected", PROP_PREFIX + ".checkbox.reservedSelected",
any -> new MappedProperty<>(checkbox, "ext.reservedSelected", any -> new MappedProperty<>(checkbox, "ext.reservedSelected",
checkbox.selectedProperty(), it -> !it, it -> !it)); checkbox.selectedProperty(), it -> !(boolean) it, it -> !(boolean) it));
} }
// ==== // ====

View File

@@ -32,7 +32,6 @@ buildscript {
subprojects { subprojects {
apply plugin: 'java' apply plugin: 'java'
apply plugin: 'idea' apply plugin: 'idea'
apply plugin: 'application'
repositories { repositories {
mavenCentral() mavenCentral()