Closed humbertodias closed 9 months ago
$ java -version
openjdk version "14.0.2" 2020-07-14
OpenJDK Runtime Environment (build 14.0.2+12-Ubuntu-120.04)
OpenJDK 64-Bit Server VM (build 14.0.2+12-Ubuntu-120.04, mixed mode, sharing)
error building:
editor $ ./gradlew
Downloading https://services.gradle.org/distributions/gradle-6.1-bin.zip
.........10%.........20%.........30%..........40%.........50%.........60%..........70%.........80%.........90%.........100%
Welcome to Gradle 6.1!
Here are the highlights of this release:
- Dependency cache is relocatable
- Configurable compilation order between Groovy, Java & Scala
- New sample projects in Gradle's documentation
For more details see https://docs.gradle.org/6.1/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7
at org.codehaus.groovy.vmplugin.VMPluginFactory.<clinit>(VMPluginFactory.java:43)
Upgrading gradlew version to 7.6 to be compatible with your java 14
Gradle 7.x: Java 11, Java 16 (experimental)
Gradle 6.x: Java 8, Java 11
Gradle 5.x: Java 8, Java 11
Gradle 4.x: Java 6, Java 7, Java 8
Gradle 3.x: Java 6, Java 7, Java 8
Gradle 2.x: Java 6, Java 7, Java 8
Gradle 1.x: Java 5, Java 6, Java 7
Editor build
1. Local
Compile
2. GHA
Build
Release