It would be great if the paths specified in this.javasettings could also deal with OSGi bundles to allow adding bundles from an application and not only by placing them in the server's bundles directory.
Download GSON jar from https://mvnrepository.com/artifact/com.google.code.gson/gson/2.8.2 and put it in a local folder
Add that local folder to this.javasettings.loadPaths array
use createObject( "java", "com.google.gson.Gson", "com.google.code.gson-gson", "2.8.2" ) in code.
Great, thanks . Looking forward to this one!
Is this ticket a duplicate?
Seems to have broken this.javaSettings :
Shouldn’t auto-loading OSGI be opt-in ?