diff --git a/build.gradle b/build.gradle index 9d92f2661f53..9a6341607f88 100644 --- a/build.gradle +++ b/build.gradle @@ -53,12 +53,20 @@ test { } String platform +String firstOtherPlatform +String secondOtherPlatform if (SystemUtils.IS_OS_WINDOWS) { platform = 'win' + firstOtherPlatform = 'mac' + secondOtherPlatform = 'linux' } else if (SystemUtils.IS_OS_LINUX) { platform = 'linux' + firstOtherPlatform = 'mac' + secondOtherPlatform = 'win' } else if (SystemUtils.IS_OS_MAC) { platform = 'mac' + firstOtherPlatform = 'win' + secondOtherPlatform = 'linux' } dependencies { @@ -73,6 +81,11 @@ dependencies { implementation group: 'org.openjfx', name: 'javafx-media', version: javafxVersion, classifier: platform implementation group: 'org.openjfx', name: 'javafx-web', version: javafxVersion, classifier: platform + implementation group: 'org.openjfx', name: 'javafx-graphics', version: javafxVersion, classifier: firstOtherPlatform + implementation group: 'org.openjfx', name: 'javafx-graphics', version: javafxVersion, classifier: secondOtherPlatform + implementation group: 'org.openjfx', name: 'javafx-web', version: javafxVersion, classifier: firstOtherPlatform + implementation group: 'org.openjfx', name: 'javafx-web', version: javafxVersion, classifier: secondOtherPlatform + implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.7.0' implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: '2.7.4'