This message was deleted.
# community-support
s
This message was deleted.
๐Ÿงต 1
n
what do you have on the line where you set
forkOptions
?
s
I cannot find
forkOptions
anywhere.
(as in a search for "forkOptions" shows no resaults)
It's worth noting that the "Gradle Build" actually succeeds, it's the regular "Build" that gives the error about
org.gradle...compile.ForkOptions
n
what about
fork
?
s
No
fork
either I'm afraid.
I did find if I click "Run" (rather than "Make") I do get slightly more information:
Copy code
Caused by: java.lang.InstantiationError: org.gradle.api.tasks.compile.ForkOptions
	at net.ltgt.gradle.errorprone.ErrorPronePlugin.configureForJava16plus(ErrorPronePlugin.kt:198)
This seems to (kind of) imply there is something wrong with a dependency but I have no idea which one.
The build does work fine with Gradle version 7.4 by the way.
v
Please do not split topics across several threads. This makes following the conversation in the threads view very hard as the context of the other messages is missing. If you have additional information either edit the original message or post to its thread. Regarding the problem: https://github.com/tbroyer/gradle-errorprone-plugin/issues/77
s
Oh, very good!
Yes indeed, I was indeed using
gradle-errorprone-plugin:2.0.2
and just like the comment to the issue you linked to,
3.0.1
works fine.
Thank you very much: ๐Ÿ™‚
๐Ÿ‘Œ 1