gluonhq / gluonfx-gradle-plugin

Plugin that simplifies using Gluon Client for Java/JavaFX gradle projects
BSD 3-Clause "New" or "Revised" License
100 stars 22 forks source link

How to use platform specific codding without plugins and add native depedencies? #186

Open ctoabidmaqbool1 opened 9 months ago

ctoabidmaqbool1 commented 9 months ago

Hi, devs!

Compairing with old javafx-mobile-plugin, how someone can add depedency for only specific terget platform, e.g. in old plugin something this was there e.g. compile, desktopCompile, androidRuntime etc.

Somesomethings like above available in gluonfx-gradle-plugin too, if then how some can can achive platform sepcific only depedency?

Also there were default structure e.g. src/android, src/desktop, src/main, src/test, src/ios etc. Someone can add common, and platform specific codding without any complex structure e.g. firstly make custome plugins and then include in the project. how can easy achive someone, is there any valid example!

Honestly, for Android project I am still stick with old javafx-mobile-plugins and JDK 1.8. due to some limitation of new gluonfx plugin or say grallvm native image limitations etc. Some of my important plugins e.g. FlywayDb is not yet supported by grallvm that's why is very much difficult to migrate whole my projct to new plugin! Also development stuff is too much slow for new pluin!

More over all of my other project e.g. javafx and jpro.one I have migrated secessfully to latest java and javafx e.g. 17.0.10 wihtout any problem!