Skip to content

Project won't build with Java 14 (and Gradle 6.1) #19

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

Open
Lysander opened this issue Aug 25, 2020 · 0 comments
Open

Project won't build with Java 14 (and Gradle 6.1) #19

Lysander opened this issue Aug 25, 2020 · 0 comments

Comments

@Lysander
Copy link

At the current state of the project the build will fail with installed JDK 14 (I use Adopt Open JDK 14).

This seems to be a known Bug of Gradle.
I used this simple workaround described in the comments here.

Just change the file \fpinkotlin\fpinkotlin-parent\gradle\wrapper\gradle-wrapper.properties

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6-bin.zip
#                                                                   ^
#                                                                   6 instead of 1 to upgrade the version of Gradle
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

After this change the project compiles.

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

No branches or pull requests

1 participant