Search Unity

Custom Gradle for Unity Cloud Build

Discussion in 'Unity Build Automation' started by thorikawa, Oct 6, 2020.

  1. thorikawa

    thorikawa

    Joined:
    Dec 3, 2013
    Posts:
    25
    My project uses ARCore Extension for AR Foundation which requires Gradle version 5.6.4 or later to support Android 11. (Here is the document) On my local PC, I can change it on Unity's preference menu to point to the local installed gradle, but is it possible to do the same thing on Unity Cloud Build?
     
    dmitry_vaveda likes this.
  2. widogame

    widogame

    Joined:
    Jul 20, 2020
    Posts:
    12
    Need help on this issue, too!
     
  3. AcuityCraig

    AcuityCraig

    Joined:
    Jun 24, 2019
    Posts:
    66
    Also need this ASAP.
     
  4. mvaz_p

    mvaz_p

    Joined:
    Aug 22, 2018
    Posts:
    80
    Any news on this?
    AdMob(5.4.0+) now also needs Gradle 5.6.4.
     
    ArthurAulicino likes this.
  5. AcuityCraig

    AcuityCraig

    Joined:
    Jun 24, 2019
    Posts:
    66
    I was told on the Unity discord the only way to fix this is to upgrade your project to 2020.1+. It did resolve the issue for me but pretty disappointing they dont plan to fix this for 2019 or earlier.
     
    nobluff67 likes this.
  6. MaximPP

    MaximPP

    Joined:
    Jan 26, 2019
    Posts:
    76
    Also need this
     
  7. Mishganches

    Mishganches

    Joined:
    Mar 23, 2014
    Posts:
    31
    Will be grade to have opportunity to use custom gradle version in cloud build. For example, for unity 2019.4.40 and API 31.
     
  8. Carl_UnityDSE

    Carl_UnityDSE

    Unity Technologies

    Joined:
    May 25, 2022
    Posts:
    59
    Hello,
    You can use your preferred Gradle version in Unity Cloud Build.
    You can find the information in this Support article. It will explain the steps on how to change the version.