Closed bwang95 closed 4 years ago
Hi @bwang95 Thank you for reporting the issue. What JDK version do you use?
I'm currently using Java 12:
openjdk version "12.0.1" 2019-04-16
OpenJDK Runtime Environment (build 12.0.1+12)
OpenJDK 64-Bit Server VM (build 12.0.1+12, mixed mode, sharing)
Unfortunately, the fix is more complicated than just changing the Java version in build.gradle, but I'm working on it. Until the issues is solved you can use JDK 8 as a workaround.
Alright. Thanks for the rapid response! 👍
Should be fixed now.
Hi,
This plugin currently fails when building my app with the following stacktrace:
The error occurs here: https://github.com/MichaelRocks/paranoid/blob/2e7c39a97994653d483580019d9e66aab4988da9/processor/src/main/kotlin/io/michaelrocks/paranoid/processor/Generator.kt#L65
Upon inspection, the contents of
diagnostics
appear to be:It appears the Java version of this plugin is out of date. I suspect that this can be fixed by updating these lines in the
build.gradle
file of each subproject:I can submit a PR, but I'm unsure if there are any audits you would like to do first.
Thanks!