IMPORTANT NOTE
I stopped updating this fork as I do not use FontAwesomeFX in my projects anymore.
Fork of FontAwesomeFX
I forked FontAwesomeFX to create a version that is compatible across different versions of the JDK and fully modularized.
All my changes were done on the 9.1.2 branch!
-
replaced the font-size parsing code in
GlyphIconUtils
so that it does not rely on an internal package. This makes it possible to use the same code for different JDK versions. -
changed the gradle build scripts to produce JDK 8 compatible class files, with the exception of the different
module-info.java
files that must be compiled with Java 9 compatibility. -
upgraded the JUnit version to 4.12 because I had build errors with the older 4.10 version.
These are issues of the original version that I think should be solved with my changes. If anything doesn't work, please report your problems to me.
In build.gradle:
repositories {
maven { url "https://dl.bintray.com/dua3/public" }
}
dependencies {
compile 'de.jensd:fontawesomefx-commons:9.1.2-jpms'
}
Binaries are available at bintray.