# \#gradle

**URL:** https://discuss.bitrise.io/tag/gradle/125.md

[Latest](https://discuss.bitrise.io/latest.md) · [Categories](https://discuss.bitrise.io/categories.md) · [Tags](https://discuss.bitrise.io/tags.md)

---

## [Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0](https://discuss.bitrise.io/t/deprecated-gradle-features-were-used-in-this-build-making-it-incompatible-with-gradle-8-0/25117)

<div class="topic-metadata">

**Author:** [@kalyanig](https://discuss.bitrise.io/u/kalyanig)\
**Replies:** 3\
**Last updated:** [April 8, 2025, 9:06am UTC](https://discuss.bitrise.io/t/deprecated-gradle-features-were-used-in-this-build-making-it-incompatible-with-gradle-8-0/25117 "2025-04-08T09:06:47Z")

</div>

Hi, I am trying to create build but every time it failed with exit status 1. below is the error log I am getting for android build FAILURE: Build completed with 2 failures. 1: Task failed with an exception. -----------…

---

## [Gradle cach have problem](https://discuss.bitrise.io/t/gradle-cach-have-problem/22522)

<div class="topic-metadata">

**Author:** [@Sergeii](https://discuss.bitrise.io/u/Sergeii)\
**Replies:** 1\
**Last updated:** [April 27, 2023, 6:04pm UTC](https://discuss.bitrise.io/t/gradle-cach-have-problem/22522 "2023-04-27T18:04:26Z")

</div>

We have problem in step gradle-cache. In save and restore. This is a project in an organization. cache upload failed: failed to get upload URL: HTTP 403: {"message":"Unfortunately, this step is not available on your cur…

---

## [Allow output from Gradle Runner step to be stored in a file](https://discuss.bitrise.io/t/allow-output-from-gradle-runner-step-to-be-stored-in-a-file/22551)

<div class="topic-metadata">

**Author:** [@angelolloqui](https://discuss.bitrise.io/u/angelolloqui)\
**Replies:** 1\
**Last updated:** [April 20, 2023, 12:01pm UTC](https://discuss.bitrise.io/t/allow-output-from-gradle-runner-step-to-be-stored-in-a-file/22551 "2023-04-20T12:01:01Z")

</div>

Description of the feature request The gradle runner step allows for custom parameters such as stacktrace or no-daemon. However, redirecting the output to a file is (as far as I know) not possible. The only way to do it …

---

## [Produce pretty tests reports with the "Gradle Unit Test" step (same as "Android Unit Test")](https://discuss.bitrise.io/t/produce-pretty-tests-reports-with-the-gradle-unit-test-step-same-as-android-unit-test/9164)

<div class="topic-metadata">

**Author:** [@egirot](https://discuss.bitrise.io/u/egirot)\
**Replies:** 8\
**Last updated:** [February 16, 2023, 8:54am UTC](https://discuss.bitrise.io/t/produce-pretty-tests-reports-with-the-gradle-unit-test-step-same-as-android-unit-test/9164 "2023-02-16T08:54:35Z")

</div>

Description of the feature request Apparently the “Android Unit Test” step produces nice test reports which are browsable online (see here : Deploying and viewing test results) Why not make “Gradle Unit Test” do it as w…

---

## [Enable custom gradle path for \`bitrise-step-save-gradle-cache\`](https://discuss.bitrise.io/t/enable-custom-gradle-path-for-bitrise-step-save-gradle-cache/22150)

<div class="topic-metadata">

**Author:** [@olie.chan.nearform](https://discuss.bitrise.io/u/olie.chan.nearform)\
**Replies:** 0\
**Last updated:** [February 3, 2023, 2:50pm UTC](https://discuss.bitrise.io/t/enable-custom-gradle-path-for-bitrise-step-save-gradle-cache/22150 "2023-02-03T14:50:36Z")

</div>

bitrise-step-save-gradle-cache Would it be possible to enable customisation of the gradle paths for this step? We have a custom react-native project, with our android folder in a custom path

---

## [Bitrise CLI not actually running unit tests on local machine](https://discuss.bitrise.io/t/bitrise-cli-not-actually-running-unit-tests-on-local-machine/21282)

<div class="topic-metadata">

**Author:** [@eric-cmb](https://discuss.bitrise.io/u/eric-cmb)\
**Replies:** 1\
**Last updated:** [October 24, 2022, 7:20pm UTC](https://discuss.bitrise.io/t/bitrise-cli-not-actually-running-unit-tests-on-local-machine/21282 "2022-10-24T19:20:40Z")

</div>

+------------------------------------------------------------------------------+ | bitrise summary | +---+-----------------------------------------------------…

---

## [How to build different flavors of an Android project](https://discuss.bitrise.io/t/how-to-build-different-flavors-of-an-android-project/4223)

<div class="topic-metadata">

**Author:** [@tamaspapik](https://discuss.bitrise.io/u/tamaspapik)\
**Replies:** 7\
**Last updated:** [October 25, 2022, 1:13pm UTC](https://discuss.bitrise.io/t/how-to-build-different-flavors-of-an-android-project/4223 "2022-10-25T13:13:03Z")

</div>

It might happen that you will have multiple flavors of APKs. Usually gradle makes it very easy to select the flavor of the project by putting the flavor name to the specified place in the gradle task’s name. Here is a s…

---

## [maxParallelForks not reducing the build time for android application](https://discuss.bitrise.io/t/maxparallelforks-not-reducing-the-build-time-for-android-application/20580)

<div class="topic-metadata">

**Author:** [@roshaan-sadapay](https://discuss.bitrise.io/u/roshaan-sadapay)\
**Replies:** 1\
**Last updated:** [August 23, 2022, 12:14pm UTC](https://discuss.bitrise.io/t/maxparallelforks-not-reducing-the-build-time-for-android-application/20580 "2022-08-23T12:14:31Z")

</div>

I am using maxParallelForks to run tests in parallel. On my local machine I can see substantial difference in build time, unit test time reduced from 20 minutes to just 10 but on Bitrise I can’t see any improvement. Do I…

---

## [Sonarqube gradle task timeout on Gradle Runner](https://discuss.bitrise.io/t/sonarqube-gradle-task-timeout-on-gradle-runner/20044)

<div class="topic-metadata">

**Author:** [@tomasz.nowodzinski](https://discuss.bitrise.io/u/tomasz.nowodzinski)\
**Replies:** 0\
**Last updated:** [May 6, 2022, 7:25pm UTC](https://discuss.bitrise.io/t/sonarqube-gradle-task-timeout-on-gradle-runner/20044 "2022-05-06T19:25:08Z")

</div>

I am using Sonar Gradle task from https://plugins.gradle.org/plugin/org.sonarqube. I cannot use regular sonar-scanner due to the configuration, which I want to have in Gradle config and run it as a Gradle task with depe…

---

## [Gradle fail to install jcenter dependencies](https://discuss.bitrise.io/t/gradle-fail-to-install-jcenter-dependencies/19113)

<div class="topic-metadata">

**Author:** [@Nuvolar\_mobile\_team](https://discuss.bitrise.io/u/Nuvolar_mobile_team)\
**Replies:** 1\
**Last updated:** [January 18, 2022, 8:54am UTC](https://discuss.bitrise.io/t/gradle-fail-to-install-jcenter-dependencies/19113 "2022-01-18T08:54:32Z")

</div>

Bitrise Build Issue Report template Description of the issue When running an android build gradle can not find the jcenter dependencies. The exact same build works fine locally A problem occurred configuring project ':…

---

## [Premature end of Content-Length delimited message body](https://discuss.bitrise.io/t/premature-end-of-content-length-delimited-message-body/19056)

<div class="topic-metadata">

**Author:** [@sreggiani](https://discuss.bitrise.io/u/sreggiani)\
**Replies:** 0\
**Last updated:** [January 10, 2022, 6:56pm UTC](https://discuss.bitrise.io/t/premature-end-of-content-length-delimited-message-body/19056 "2022-01-10T18:56:12Z")

</div>

Bitrise Build Issue Report template Description of the issue Builds have been recently failing inconsistently with this error message during gradle dependencies downloads: \* What went wrong: Execution failed for task ':…

---

## [Failed to fetch variants, error: FAILURE: Build failed with an exception](https://discuss.bitrise.io/t/failed-to-fetch-variants-error-failure-build-failed-with-an-exception/17277)

<div class="topic-metadata">

**Author:** [@brandon.kitt](https://discuss.bitrise.io/u/brandon.kitt)\
**Replies:** 1\
**Last updated:** [June 30, 2021, 4:01am UTC](https://discuss.bitrise.io/t/failed-to-fetch-variants-error-failure-build-failed-with-an-exception/17277 "2021-06-30T04:01:25Z")

</div>

Hi there, I’m having some trouble with my gradle builds in bitrise, as its running fine locally, but always fails on bitrise. I have two steps that are “an issue” - AndroidLint and AndroidUnitTest Whichever order I pu…

---

## [Disable gradle cache](https://discuss.bitrise.io/t/disable-gradle-cache/15678)

<div class="topic-metadata">

**Author:** [@vanyadeasy](https://discuss.bitrise.io/u/vanyadeasy)\
**Replies:** 0\
**Last updated:** [February 8, 2021, 6:55am UTC](https://discuss.bitrise.io/t/disable-gradle-cache/15678 "2021-02-08T06:55:50Z")

</div>

Based on this blog post, Bitrise automatically cache gradle dependencies. Is there any way to disable this config?

---

## [How do I specify certain builds to exclude from the output and also public install page when the file name is dynamic?](https://discuss.bitrise.io/t/how-do-i-specify-certain-builds-to-exclude-from-the-output-and-also-public-install-page-when-the-file-name-is-dynamic/15128)

<div class="topic-metadata">

**Author:** [@Dhara](https://discuss.bitrise.io/u/Dhara)\
**Replies:** 1\
**Last updated:** [December 22, 2020, 1:37pm UTC](https://discuss.bitrise.io/t/how-do-i-specify-certain-builds-to-exclude-from-the-output-and-also-public-install-page-when-the-file-name-is-dynamic/15128 "2020-12-22T13:37:09Z")

</div>

I have a workflow created that runs only the release gradle task but it generates different abi apks and also the date and app version gets appended to the file name. For such dynamic apks files how do i specify which bu…

---

## [Android build error. Problem with gradle.settings](https://discuss.bitrise.io/t/android-build-error-problem-with-gradle-settings/15152)

<div class="topic-metadata">

**Author:** [@rovkinmax](https://discuss.bitrise.io/u/rovkinmax)\
**Replies:** 9\
**Last updated:** [December 16, 2020, 8:57am UTC](https://discuss.bitrise.io/t/android-build-error-problem-with-gradle-settings/15152 "2020-12-16T08:57:32Z")

</div>

Hi! Today I have a some problems with builds. I did not update gradle version since last successful build but today my build failed with exception and I have no idea how to fix it. Could you help me with this? org.grad…

---

## [Unsuported Android Plugin version: 3.6.1](https://discuss.bitrise.io/t/unsuported-android-plugin-version-3-6-1/12375)

<div class="topic-metadata">

**Author:** [@maracne](https://discuss.bitrise.io/u/maracne)\
**Replies:** 2\
**Last updated:** [March 25, 2020, 11:21am UTC](https://discuss.bitrise.io/t/unsuported-android-plugin-version-3-6-1/12375 "2020-03-25T11:21:23Z")

</div>

Can’t build Android Studio 3.6.1 projects Description of the issue Build fails when using Android Studio 3.6.1 and Android Gradle Plugin 3.6.1. The error message also contains a typo ‘unsuported’ vs ‘unsupported’. Anyw…

---

## [Android builds suddenly started to take too much time](https://discuss.bitrise.io/t/android-builds-suddenly-started-to-take-too-much-time/11920)

<div class="topic-metadata">

**Author:** [@nationaledtech](https://discuss.bitrise.io/u/nationaledtech)\
**Replies:** 3\
**Last updated:** [February 13, 2020, 10:31am UTC](https://discuss.bitrise.io/t/android-builds-suddenly-started-to-take-too-much-time/11920 "2020-02-13T10:31:40Z")

</div>

Description of the issue I have 2 Android apps configured to be built. Yesterday builds for one of them started to take too much time. I’m on free plan, but have 20 minutes limit because of referrals. Usually my builds t…

---

## [How gradel dependency caches are utilised in different builds](https://discuss.bitrise.io/t/how-gradel-dependency-caches-are-utilised-in-different-builds/11897)

<div class="topic-metadata">

**Author:** [@Sumitbera](https://discuss.bitrise.io/u/Sumitbera)\
**Replies:** 1\
**Last updated:** [February 12, 2020, 3:25pm UTC](https://discuss.bitrise.io/t/how-gradel-dependency-caches-are-utilised-in-different-builds/11897 "2020-02-12T15:25:04Z")

</div>

Hi, At the moment we have cache pull & cache push added to our android app workflow. My question is if we are caching dependencies, then how they are stored/saved and is it being used in the next running builds. Since w…

---

## [Add artifact to maven repository accessible from project's gradle](https://discuss.bitrise.io/t/add-artifact-to-maven-repository-accessible-from-projects-gradle/10974)

<div class="topic-metadata">

**Author:** [@benny-paykey](https://discuss.bitrise.io/u/benny-paykey)\
**Replies:** 1\
**Last updated:** [December 12, 2019, 12:32pm UTC](https://discuss.bitrise.io/t/add-artifact-to-maven-repository-accessible-from-projects-gradle/10974 "2019-12-12T12:32:16Z")

</div>

Description of the feature request publish artifact created by bitrise to a maven repository, download from project’s gradle Use case / for what or how I would use it in android gradle file use implementation to use art…

---

## [Gradle Runner step: No file name matched app filters](https://discuss.bitrise.io/t/gradle-runner-step-no-file-name-matched-app-filters/10160)

<div class="topic-metadata">

**Author:** [@jason.atwood](https://discuss.bitrise.io/u/jason.atwood)\
**Replies:** 1\
**Last updated:** [September 12, 2019, 9:37am UTC](https://discuss.bitrise.io/t/gradle-runner-step-no-file-name-matched-app-filters/10160 "2019-09-12T09:37:17Z")

</div>

We are running the Gradle Runner step: - gradle-runner: inputs: - mapping\_file\_include\_filter: '' - apk\_file\_include\_filter: '' - apk\_file\_exclude\_filter: "\*.apk" - gradle\_task: services:assembleBlue…

---

## [Gradle ignoring nested modules](https://discuss.bitrise.io/t/gradle-ignoring-nested-modules/9268)

<div class="topic-metadata">

**Author:** [@szymanskip](https://discuss.bitrise.io/u/szymanskip)\
**Replies:** 1\
**Last updated:** [June 14, 2019, 2:31pm UTC](https://discuss.bitrise.io/t/gradle-ignoring-nested-modules/9268 "2019-06-14T14:31:38Z")

</div>

Hey, I wanted to bring your attention to an issue that I found in the way the Go script gathers a list of modules in a project: https://github.com/bitrise-io/go-android/issues/28 I proposed a PR with a fix: https://git…

---

## [Gradle Runner not working: com.novoda:espresso-support-extras](https://discuss.bitrise.io/t/gradle-runner-not-working-com-novoda-espresso-support-extras/8959)

<div class="topic-metadata">

**Author:** [@BISSERIER](https://discuss.bitrise.io/u/BISSERIER)\
**Replies:** 2\
**Last updated:** [May 9, 2019, 8:47am UTC](https://discuss.bitrise.io/t/gradle-runner-not-working-com-novoda-espresso-support-extras/8959 "2019-05-09T08:47:22Z")

</div>

Hello, I’ve one problem with my workflow for build my Android app. Monday, my workflow work fine, but since tuesday the same worfklow not working, cause the step “Gradle Runner” fail because he don’t find “com.novoda:e…

---

## [Could not resolve all artifacts for configuration ':classpath'](https://discuss.bitrise.io/t/could-not-resolve-all-artifacts-for-configuration-classpath/8502)

<div class="topic-metadata">

**Author:** [@max](https://discuss.bitrise.io/u/max)\
**Replies:** 3\
**Last updated:** [March 21, 2019, 8:59am UTC](https://discuss.bitrise.io/t/could-not-resolve-all-artifacts-for-configuration-classpath/8502 "2019-03-21T08:59:06Z")

</div>

Hey all, last build was 1 day ago and code haven’t changed much since (definitely not dependencies) then but this morning I started to see this in our android job. Anyone has an idea what can cause this? Is this someth…

---

## [Install-missing-android-tools is failing](https://discuss.bitrise.io/t/install-missing-android-tools-is-failing/7320)

<div class="topic-metadata">

**Author:** [@max](https://discuss.bitrise.io/u/max)\
**Replies:** 1\
**Last updated:** [December 11, 2018, 11:21am UTC](https://discuss.bitrise.io/t/install-missing-android-tools-is-failing/7320 "2018-12-11T11:21:34Z")

</div>

Hey, our android job started to fail since yesterday with the following error: \* What went wrong: A problem occurred configuring root project '\*\*\*\*'. \> Could not resolve all files for configuration ':classpath'. \> Co…

---

## [RN Android builds locally but Bitrise fails with "Could not find play-services-tasks-license.aar"](https://discuss.bitrise.io/t/rn-android-builds-locally-but-bitrise-fails-with-could-not-find-play-services-tasks-license-aar/6647)

<div class="topic-metadata">

**Author:** [@paul-hart](https://discuss.bitrise.io/u/paul-hart)\
**Replies:** 5\
**Last updated:** [November 9, 2018, 10:54am UTC](https://discuss.bitrise.io/t/rn-android-builds-locally-but-bitrise-fails-with-could-not-find-play-services-tasks-license-aar/6647 "2018-11-09T10:54:48Z")

</div>

Description of the issue After having successfully built our project many times, with no changes to the packages / gradle, all of a sudden our build gets stuck on react-native-push-notification when compiling our React N…

---

## [Gradle execution very slow](https://discuss.bitrise.io/t/gradle-execution-very-slow/5791)

<div class="topic-metadata">

**Author:** [@CyrilPatrice](https://discuss.bitrise.io/u/CyrilPatrice)\
**Replies:** 6\
**Last updated:** [September 11, 2018, 3:35pm UTC](https://discuss.bitrise.io/t/gradle-execution-very-slow/5791 "2018-09-11T15:35:25Z")

</div>

Bitrise Build Issue Report template Description of the issue Please describe the issue here 1 or 2 times a day our gradle build step take a very long time, and (before the avaibility of step timeout) it was killed by th…

---

## [Cordova Gradle not available](https://discuss.bitrise.io/t/cordova-gradle-not-available/5359)

<div class="topic-metadata">

**Author:** [@upgraide](https://discuss.bitrise.io/u/upgraide)\
**Replies:** 6\
**Last updated:** [June 12, 2018, 11:29am UTC](https://discuss.bitrise.io/t/cordova-gradle-not-available/5359 "2018-06-12T11:29:29Z")

</div>

Hi, I am trying to run cordova build android --release but get the following error: (node:1913) UnhandledPromiseRejectionWarning: CordovaError: Could not find an installed version of Gradle either in Android Studio…

---

## [Android build failing due to Gradlew path not configured](https://discuss.bitrise.io/t/android-build-failing-due-to-gradlew-path-not-configured/5372)

<div class="topic-metadata">

**Author:** [@maartenaalbers](https://discuss.bitrise.io/u/maartenaalbers)\
**Replies:** 1\
**Last updated:** [June 11, 2018, 11:06am UTC](https://discuss.bitrise.io/t/android-build-failing-due-to-gradlew-path-not-configured/5372 "2018-06-11T11:06:54Z")

</div>

Description of the issue My Android build is failing on step install-missing-android-tools ±-----------------------------------------------------------------------------+ | (4) install-missing-android-tools@2.1.1 …

---

## [Update sdk versions of several imported projects](https://discuss.bitrise.io/t/update-sdk-versions-of-several-imported-projects/4555)

<div class="topic-metadata">

**Author:** [@Kaniz\_92](https://discuss.bitrise.io/u/Kaniz_92)\
**Replies:** 7\
**Last updated:** [March 29, 2018, 2:37pm UTC](https://discuss.bitrise.io/t/update-sdk-versions-of-several-imported-projects/4555 "2018-03-29T14:37:25Z")

</div>

In my project there are several dependency projects which has separate build.gradles with different buildToolVersions. On the point of project run all the projects should be sync altogether to have a normalized buil-tool…

---

## [bundleReleaseJsAndAssets task failed](https://discuss.bitrise.io/t/bundlereleasejsandassets-task-failed/4625)

<div class="topic-metadata">

**Author:** [@Kaniz\_92](https://discuss.bitrise.io/u/Kaniz_92)\
**Replies:** 1\
**Last updated:** [March 27, 2018, 6:05pm UTC](https://discuss.bitrise.io/t/bundlereleasejsandassets-task-failed/4625 "2018-03-27T18:05:10Z")

</div>

In the gradle task assembleRelease, I got the following error.

[Next page](https://discuss.bitrise.io/tag/gradle/125.md?match_all_tags=true&page=1&tags%5B%5D=gradle)
