I am using the GluonFX Maven plugin to provide my application for desktop and mobile operating systems as a native binary. That mostly works fine, but there are some areas where using specific modules compiles and links on desktop, but not on android.
Is there a way to have platform dependent variations of a source code when using the GluonFX Maven plugin? Like having src/main/java
for common code, src/desktop/java
for desktop only code and src/android/java
for Android only code?
That option seemed to exist in the older JavaFXPorts, but I cannot find any hint it exists in the current GluonFX Maven plugin anymore. (And I tried, but don't see any indiciation that the code in the folder is picked).