I prefer to use intelliJ in favor of netbeans, so i was looking for a decent tool chain to build desktop and android.
after some trial and error session, I worked out some basic gradle boilerplate.
android + desktop building works out of the box. everything was tested under linux.
btw: thank you for setting up maven support!