I am trying to compile a Flavour project using TeaVM. I am going through TeaVM Gradle plugin, and I am getting the following error:
java.lang.IllegalArgumentException: java.lang.Object is not subclass of ...
I have tried running ./gradlew clean, to no avail.
This seems to be due to an illegal state inside the TeaVM compiler.
To fix the situation, simply stop the Gradle daemons:
./gradlew --stop