Upgrade to Gradle 3.5.
I've run the following command line:
./gradlew wrapper --gradle-version=3.5
Among other things, this fixes the issue described in https://github.com/gradle/gradle/issues/1387
("Exception: java.lang.IllegalStateException thrown from the UncaughtExceptionHandler in thread...").
I've run into this issue when adding more instrumentation logic to the Java agent. It makes
debugging the actual issue nearly impossible as any useful debug output is lost.
While there, also upgrade the errorprone-plugin to 0.0.10 (was 0.0.9) because the previous version
is broken in Gradle 3.5, cf. https://github.com/tbroyer/gradle-errorprone-plugin/issues/37.
3 files changed