Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-20949

Bundle Gradle task with Bamboo and enable modifying JDK version

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Tasks
    • None
    • 0
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      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>

      Attachments

        Activity

          People

            Unassigned Unassigned
            roliveira@atlassian.com Ricardo
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: