A description of a problem shall not start with finding the root cause, but be it: It never stops surprising me how incompatible Gradle is. I have written some build.gradle scripts for some version of Gradle, but then after few new releases, those scripts don't work at all. The fix is simple: include `gradlew` in your repository and fix Gradle version, but this is so(oooo!) different compared to Maven! Let me explain the problem:
- Follow the steps and get the repository, commit eee35b7
- Usage from command line works, but:
- Open the project in NetBeans. There are errors in RootViewModel class
My IDE cannot find RootViewModelBase, NavItemBase, FooterLinkBase. Those classes are generated by annotation processor ("com.dukescript.api:javafx.beaninfo:0.6"). A normal behavior of javac is to locate all annotation processors on "compile" class path and use them. Gradle 4.10 does that. New versions of Gradle don't do that(!!!!).
I assume NetBeans 12.x is using new version of Gradle internally and as such, it doesn't find the annotation processor. As such the code is rendered as broken. Can we fix that somehow (without rewriting the project to Maven )?