I'm creating a desktop Java app and would like to create two versions: free and paid. The difference is mainly in which resource files are included (at a future date, it may involve different code as well, but not right now).
I've read about Android build variants allowing for just this sort of thing through "product flavors". However, this seems to be a feature unique to the android
plugin, which is obviously not available on the desktop.
Is there an equivalent to these product flavors that does not depend on the android
plugin?
If it helps, my end goal is to find a way that I can run the Gradle build
task and output two different versions of the app, which is my understanding of what the Android build variants accomplishes.