Bundle Gradle task with Bamboo and enable modifying JDK version

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Low Engagement
    • None
    • Component/s: Tasks
    • 0
    • 1

      Problem Definition

      Currently Gradle is installed through a third party vendor

      Suggested Solution

      Bundle Gradle with Bamboo install

      Why this is important

      The configuration of Gradle is limited, as an example the JDK version cannot be changed in the UI

      Workaround

      In gradle.properties in the .gradle directory in your HOME_DIRECTORY set org.gradle.java.home=/<JAVA_PATH>
      or
      In your build.gradle
      compileJava.options.fork = true
      compileJava.options.forkOptions.executable = /<JAVA_PATH>

            Assignee:
            Unassigned
            Reporter:
            Ricardo
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: