...
Refresh
gradle
project in IntelliJ.- Close Intellij.
Clean build project from the console. Execute>
Code Block ./gradlew clean cleanTest build -x testWebsite -x :rat -x test
- Open IntelliJ.
Build errors due to inconsistent
...
Gradle cache
Sometimes build fail fails even for the main (master) branch either using IntelliJ or command line. Most If it worked before but now consistently failing, most likely this is due to inconsistent Gradle cache. It could happen when switching branches back and forth. Run the build gradle Gradle command line with "--rerun-tasks" would do the trick.
...