mirror of
https://github.com/corda/corda.git
synced 2025-01-18 02:39:51 +00:00
Set JFX 3rd party library dependency (fontawesomefx) according to Java version. (#5513)
This commit is contained in:
parent
6d467bdbb1
commit
6666ee1a46
11
build.gradle
11
build.gradle
@ -117,8 +117,15 @@ buildscript {
|
||||
ext.picocli_version = '3.9.6'
|
||||
ext.commons_io_version = '2.6'
|
||||
ext.controlsfx_version = '8.40.15'
|
||||
ext.fontawesomefx_commons_version = '11.0'
|
||||
ext.fontawesomefx_fontawesome_version = '4.7.0-11'
|
||||
if (JavaVersion.current() == JavaVersion.VERSION_11) {
|
||||
// has been compiled by a more recent version of the Java Runtime (class file version 55.0)
|
||||
ext.fontawesomefx_commons_version = '11.0'
|
||||
ext.fontawesomefx_fontawesome_version = '4.7.0-11'
|
||||
}
|
||||
else {
|
||||
ext.fontawesomefx_commons_version = '8.15'
|
||||
ext.fontawesomefx_fontawesome_version = '4.7.0-5'
|
||||
}
|
||||
|
||||
// Name of the IntelliJ SDK created for the deterministic Java rt.jar.
|
||||
// ext.deterministic_idea_sdk = '1.8 (Deterministic)'
|
||||
|
Loading…
Reference in New Issue
Block a user