Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frege Gradle Plugin fails on JDK 12 #377

Open
russel opened this issue May 6, 2019 · 2 comments
Open

Frege Gradle Plugin fails on JDK 12 #377

russel opened this issue May 6, 2019 · 2 comments

Comments

@russel
Copy link

russel commented May 6, 2019

It appears that the Frege plugin for Gradle fails when using JDK 12:

* Exception is:
java.lang.NoSuchMethodError: org.gradle.api.plugins.JavaBasePlugin.configureForSourceSet(Lorg/gradle/api/tasks/SourceSet;Lorg/gradle/api/tasks/compile/AbstractCompile;)V
        at frege.gradle.plugins.FregeBasePlugin$1.execute(FregeBasePlugin.java:66)
        at frege.gradle.plugins.FregeBasePlugin$1.execute(FregeBasePlugin.java:47)
        at org.gradle.api.internal.DefaultCollectionCallbackActionDecorator$BuildOperationEmittingAction$1$1.run(DefaultCollectionCallbackActionDecorator.java:100)
        at org.gradle.configuration.internal.DefaultUserCodeApplicationContext.reapply(DefaultUserCodeApplicationContext.java:58)
        at org.gradle.api.internal.DefaultCollectionCallbackActionDecorator$BuildOperationEmittingAction$1.run(DefaultCollectionCallbackActionDecorator.java:97)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:402)
…
@Dierk
Copy link
Member

Dierk commented May 7, 2019

I assume this has only indirectly to do with Java 12 as supporting this requires a newer version of Gradle, which in turn changed some API that the Frege Plugin relies upon. I tried to update a few weeks ago but could get it working in the time available. Current plans are to address this issue in a hackergarten when some Gradle expert is around

@russel
Copy link
Author

russel commented May 7, 2019

I am using Gradle 5.4.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants