enonic / cli-enonic

GNU General Public License v3.0
41 stars 1 forks source link

enonic project wrapper #131

Closed ComLock closed 5 years ago

ComLock commented 5 years ago

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

alansemenov commented 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.

ComLock commented 5 years ago

If Enonic XP ships with a bundled Java. It would be nice to export that Java to the environment somehow.