Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-739

Set GRADLE_HOME env into java plugins which contain Gradle

XMLWordPrintable

      Java 11 plugins use registry.redhat.io/codeready-workspaces/plugin-java11-rhel8:2.1 image which provides Gradle support.
      It makes sense to set GRADLE_HOME environment variable into these plugins to say Java Language Server to use local installed Gradle instead of downloading it.
      It also makes possible to use devfiles with java11 plugin in disconnected environment.

      As a result each plugin inside https://github.com/redhat-developer/codeready-workspaces/tree/master/dependencies/che-plugin-registry/v3/plugins/redhat/java11 folder should contain:

            env:
            - name: GRADLE_HOME
              value: /opt/gradle/ 
      

              ericwill@redhat.com Eric Williams
              vsvydenk Valerii Svydenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: