fpinkotlin icon indicating copy to clipboard operation
fpinkotlin copied to clipboard

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

Open Lysander opened this issue 4 years ago • 0 comments

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.

Lysander avatar Aug 25 '20 09:08 Lysander