Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Refresh gradle project in IntelliJ.

  2. Close Intellij.
  3. Clean build project from the console. Execute>

    Code Block
    ./gradlew clean cleanTest build -x testWebsite -x :rat -x test


  4. 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.

...