Closed ComLock closed 5 years ago
This is not a problem of CLI. You should use correct version of the gradle plugins that are compatible with version of Java from $JAVA_HOME.
If Enonic XP ships with a bundled Java. It would be nice to export that Java to the environment somehow.
After setting gradleVersion = 5.0
I run
./gradlew wrapper
in order to upgrade gradle.However since the environment is wrong I get:
java.lang.UnsupportedClassVersionError: com/enonic/gradle/xp/BasePlugin
Also see #130