# scans.gradle.com

**URL:** https://discuss.gradle.org/c/help-discuss/scans/32.md

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

---

## [Error publishing build scan - Connection refused](https://discuss.gradle.org/t/error-publishing-build-scan-connection-refused/36181)

<div class="topic-metadata">

**Author:** [@ghus-raba](https://discuss.gradle.org/u/ghus-raba)\
**Replies:** 3\
**Last updated:** [August 30, 2025, 3:15am UTC](https://discuss.gradle.org/t/error-publishing-build-scan-connection-refused/36181 "2025-08-30T03:15:08Z")

</div>

Info from the build: Gradle version: 6.4 Plugin version: 3.3.1 Request URL: https://scans-in.gradle.com/scans/publish/gradle/3.3.1/token Request ID: b3d7ca8c-8376-4ae9-ad24-bd96c87f3935 Exception: java.net.ConnectExcept…

---

## [Hello friends, how can this problem be solved?](https://discuss.gradle.org/t/hello-friends-how-can-this-problem-be-solved/51351)

<div class="topic-metadata">

**Author:** [@1m1712962](https://discuss.gradle.org/u/1m1712962)\
**Replies:** 1\
**Last updated:** [July 19, 2025, 6:18pm UTC](https://discuss.gradle.org/t/hello-friends-how-can-this-problem-be-solved/51351 "2025-07-19T18:18:35Z")

</div>

Build file 'C:\\Users\\hani\\AndroidStudioProjects\\amor\\build.gradle.kts' line: 2 Plugin \[id: 'com.android.application', version: '8.11.1', apply: false\] was not found in any of the following sources: \* Try: \> Run with --…

---

## [Execution failed for task ':gradle:jar'.](https://discuss.gradle.org/t/execution-failed-for-task-jar/50624)

<div class="topic-metadata">

**Author:** [@cbilgin](https://discuss.gradle.org/u/cbilgin)\
**Replies:** 1\
**Last updated:** [March 13, 2025, 1:50am UTC](https://discuss.gradle.org/t/execution-failed-for-task-jar/50624 "2025-03-13T01:50:49Z")

</div>

I am experiencing this problem can you help me FAILURE: Build failed with an exception. \* What went wrong: Execution failed for task ':gradle:jar'. \> Entry FlutterPlugin.class is a duplicate but no duplicate handling s…

---

## [Test cases missing issue in Gradle runner](https://discuss.gradle.org/t/test-cases-missing-issue-in-gradle-runner/49382)

<div class="topic-metadata">

**Author:** [@VimalVRK](https://discuss.gradle.org/u/VimalVRK)\
**Replies:** 1\
**Last updated:** [September 10, 2024, 10:08pm UTC](https://discuss.gradle.org/t/test-cases-missing-issue-in-gradle-runner/49382 "2024-09-10T22:08:30Z")

</div>

I’m running the JUnit stage with the help of Gradle runner in the Jenkins pipeline. Recently I have faced randomly missing (almost 6-7k) test cases issue in random pipelines. After analysed and updated the gradle version…

---

## [Gradle fails to grather data and create build scan](https://discuss.gradle.org/t/gradle-fails-to-grather-data-and-create-build-scan/48824)

<div class="topic-metadata">

**Author:** [@piotrkurek91](https://discuss.gradle.org/u/piotrkurek91)\
**Replies:** 2\
**Last updated:** [July 5, 2024, 10:02am UTC](https://discuss.gradle.org/t/gradle-fails-to-grather-data-and-create-build-scan/48824 "2024-07-05T10:02:15Z")

</div>

Hi, We have a complex infrastructure that runs builds daily on our AWS remote Jenkins agents and with the Gradle Test Distribution agents. Since the last Develocity upgrade (to 2024.1) we have been facing random issues …

---

## [Is there any way to do non-interactive mode?](https://discuss.gradle.org/t/is-there-any-way-to-do-non-interactive-mode/48546)

<div class="topic-metadata">

**Author:** [@darkn3rd](https://discuss.gradle.org/u/darkn3rd)\
**Replies:** 4\
**Last updated:** [May 25, 2024, 1:45am UTC](https://discuss.gradle.org/t/is-there-any-way-to-do-non-interactive-mode/48546 "2024-05-25T01:45:36Z")

</div>

Is there a way to initialize a project in non-interactive mode and pass in the options through command line arguments instead of interactive questions? For example, with the run init tasks, it asks interactive questions…

---

## [How can I get the scan url from a maven build?](https://discuss.gradle.org/t/how-can-i-get-the-scan-url-from-a-maven-build/47858)

<div class="topic-metadata">

**Author:** [@yeikel](https://discuss.gradle.org/u/yeikel)\
**Replies:** 1\
**Last updated:** [March 1, 2024, 6:25pm UTC](https://discuss.gradle.org/t/how-can-i-get-the-scan-url-from-a-maven-build/47858 "2024-03-01T18:25:17Z")

</div>

Currently, the output is something like \[INFO\] 334 goals, 324 executed, 10 from cache, saving at least 21s \[INFO\] \[INFO\] Publishing build scan... \[INFO\] https://baseurl.com/shz6dlj2rfjdk This is not very computer frie…

---

## [How to use --scan in CI?](https://discuss.gradle.org/t/how-to-use-scan-in-ci/29443)

<div class="topic-metadata">

**Author:** [@louis993546](https://discuss.gradle.org/u/louis993546)\
**Replies:** 3\
**Last updated:** [February 14, 2024, 1:56pm UTC](https://discuss.gradle.org/t/how-to-use-scan-in-ci/29443 "2024-02-14T13:56:52Z")

</div>

How do I teach GitLab CI or Circle CI (or any other CI) how to accept the ToS? Thanks in advance!

---

## [Could not get unknown property 'build' for root project](https://discuss.gradle.org/t/could-not-get-unknown-property-build-for-root-project/47480)

<div class="topic-metadata">

**Author:** [@rababu1978](https://discuss.gradle.org/u/rababu1978)\
**Replies:** 2\
**Last updated:** [January 23, 2024, 11:23am UTC](https://discuss.gradle.org/t/could-not-get-unknown-property-build-for-root-project/47480 "2024-01-23T11:23:19Z")

</div>

I am getting following error migrating gradle project from 5.5 to 8.5 \* What went wrong: A problem occurred evaluating root project 'buildNetworkShared'. \> Could not get unknown property 'build' for root project 'buildN…

---

## [Vulnerabilities found in com.google.cloud.tools.jib](https://discuss.gradle.org/t/vulnerabilities-found-in-com-google-cloud-tools-jib/46285)

<div class="topic-metadata">

**Author:** [@ankitvashishta](https://discuss.gradle.org/u/ankitvashishta)\
**Replies:** 3\
**Last updated:** [August 15, 2023, 8:41am UTC](https://discuss.gradle.org/t/vulnerabilities-found-in-com-google-cloud-tools-jib/46285 "2023-08-15T08:41:02Z")

</div>

org.yaml:snakeyaml vulnerability found on v1.33. Fixed in v2.0 com.google.guava:guava vulnerability found on v31.1-jre. Fixed in v32.0 Can these be updated ?

---

## [Failed to apply plugin 'no.nils.wsdl2java'](https://discuss.gradle.org/t/failed-to-apply-plugin-no-nils-wsdl2java/46122)

<div class="topic-metadata">

**Author:** [@RajeshRaju](https://discuss.gradle.org/u/RajeshRaju)\
**Replies:** 1\
**Last updated:** [July 30, 2023, 3:05pm UTC](https://discuss.gradle.org/t/failed-to-apply-plugin-no-nils-wsdl2java/46122 "2023-07-30T15:05:15Z")

</div>

While upgrading jdk 11 and gradle 6.8 vesion project to jdk 17 and grdle 7.3 am facing a problem occurred evaluating root project as below. Failed to apply plugin ‘no.nils.wsdl2java’. Configuration with name ‘compil…

---

## [Gradle Error Please help](https://discuss.gradle.org/t/gradle-error-please-help/45344)

<div class="topic-metadata">

**Author:** [@hamzahamruni](https://discuss.gradle.org/u/hamzahamruni)\
**Replies:** 1\
**Last updated:** [April 7, 2023, 4:54pm UTC](https://discuss.gradle.org/t/gradle-error-please-help/45344 "2023-04-07T16:54:28Z")

</div>

---

## [Your Build Scan is delayed](https://discuss.gradle.org/t/your-build-scan-is-delayed/44042)

<div class="topic-metadata">

**Author:** [@ddgnWGU](https://discuss.gradle.org/u/ddgnWGU)\
**Replies:** 3\
**Last updated:** [February 15, 2023, 6:49am UTC](https://discuss.gradle.org/t/your-build-scan-is-delayed/44042 "2023-02-15T06:49:58Z")

</div>

Hello team, each time I run a jenkins pipeline on a virtualized machine using Proxmox I run a gradle command with the --scan at the end, throwing me the url where I can request the build scan results. Each time I do thi…

---

## [Why I have problems with Unity with CommandInvokationFailure: Gradle build failed.?](https://discuss.gradle.org/t/why-i-have-problems-with-unity-with-commandinvokationfailure-gradle-build-failed/44848)

<div class="topic-metadata">

**Author:** [@mallolj](https://discuss.gradle.org/u/mallolj)\
**Replies:** 1\
**Last updated:** [February 10, 2023, 10:39am UTC](https://discuss.gradle.org/t/why-i-have-problems-with-unity-with-commandinvokationfailure-gradle-build-failed/44848 "2023-02-10T10:39:16Z")

</div>

I have an issue in Unity: CommandInvokationFailure: Gradle build failed. C:\\Program Files\\Unity\\Hub\\Editor\\2022.2.5f1\\Editor\\Data\\PlaybackEngines\\AndroidPlayer\\OpenJDK\\bin\\java.exe -classpath “C:\\Program Files\\Unity\\Hu…

---

## [Cannot push Gradle Scans to scans.gradle.com](https://discuss.gradle.org/t/cannot-push-gradle-scans-to-scans-gradle-com/42952)

<div class="topic-metadata">

**Author:** [@suman123](https://discuss.gradle.org/u/suman123)\
**Replies:** 4\
**Last updated:** [May 18, 2022, 8:03am UTC](https://discuss.gradle.org/t/cannot-push-gradle-scans-to-scans-gradle-com/42952 "2022-05-18T08:03:01Z")

</div>

Cannot push Gradle Scans to scans.gradle.com. It is showing server under maintenance since last night. Any estimate on when it should be back ?

---

## [buildScanPublished callbacks occurring before build scan upload](https://discuss.gradle.org/t/buildscanpublished-callbacks-occurring-before-build-scan-upload/42649)

<div class="topic-metadata">

**Author:** [@benleis1](https://discuss.gradle.org/u/benleis1)\
**Replies:** 3\
**Last updated:** [April 11, 2022, 7:29am UTC](https://discuss.gradle.org/t/buildscanpublished-callbacks-occurring-before-build-scan-upload/42649 "2022-04-11T07:29:57Z")

</div>

I have a small fragment in my build.gradle that takes the build Scan url and forwards it to another server for processing buildScan { buildScanPublished { println "Doing a preflight check" println "c…

---

## [Removing sensitive data from scan report](https://discuss.gradle.org/t/removing-sensitive-data-from-scan-report/42271)

<div class="topic-metadata">

**Author:** [@Attila\_Kelemen](https://discuss.gradle.org/u/Attila_Kelemen)\
**Replies:** 1\
**Last updated:** [February 22, 2022, 12:15pm UTC](https://discuss.gradle.org/t/removing-sensitive-data-from-scan-report/42271 "2022-02-22T12:15:42Z")

</div>

The Infrastructure page of the scan report contains data such as username, hostname, IP. When sharing a build scan report with someone, I might not be comfortable sharing these (especially since they usually have little …

---

## [Nexus3 Sonatype Staging and tagging](https://discuss.gradle.org/t/nexus3-sonatype-staging-and-tagging/41720)

<div class="topic-metadata">

**Author:** [@hitesh\_kumar](https://discuss.gradle.org/u/hitesh_kumar)\
**Replies:** 0\
**Last updated:** [December 17, 2021, 6:08pm UTC](https://discuss.gradle.org/t/nexus3-sonatype-staging-and-tagging/41720 "2021-12-17T18:08:56Z")

</div>

Hi Everybody, I am trying to find if there is any development made on gradle plugin to support Nexus 3 tagging and uploading feature. We are currently using gradle builds and using maven publication method to upload b…

---

## [Gradle Enterprise - Add non cacheable Maven goals](https://discuss.gradle.org/t/gradle-enterprise-add-non-cacheable-maven-goals/40824)

<div class="topic-metadata">

**Author:** [@milindbangar](https://discuss.gradle.org/u/milindbangar)\
**Replies:** 0\
**Last updated:** [August 25, 2021, 4:59pm UTC](https://discuss.gradle.org/t/gradle-enterprise-add-non-cacheable-maven-goals/40824 "2021-08-25T16:59:13Z")

</div>

Hi, Couple of queries: Are there examples available to understand and implement non-cacheable goals for Gradle Enterprise? I am executing npm tasks including test and coverage in context of maven exec goal and wou…

---

## [Gradle build scan File system watching captured data](https://discuss.gradle.org/t/gradle-build-scan-file-system-watching-captured-data/40448)

<div class="topic-metadata">

**Author:** [@david-gang](https://discuss.gradle.org/u/david-gang)\
**Replies:** 1\
**Last updated:** [July 11, 2021, 11:45am UTC](https://discuss.gradle.org/t/gradle-build-scan-file-system-watching-captured-data/40448 "2021-07-11T11:45:44Z")

</div>

Hi, According to https://docs.gradle.com/enterprise/gradle-plugin/#captured\_information the “File system watching” data is captured by gradle. What is exactly captured? I need to understand which precise information is …

---

## [Com.gradle.scan.agent.serialization.scan.a.g error](https://discuss.gradle.org/t/com-gradle-scan-agent-serialization-scan-a-g-error/40167)

<div class="topic-metadata">

**Author:** [@passmanagerapp](https://discuss.gradle.org/u/passmanagerapp)\
**Replies:** 1\
**Last updated:** [June 9, 2021, 5:41am UTC](https://discuss.gradle.org/t/com-gradle-scan-agent-serialization-scan-a-g-error/40167 "2021-06-09T05:41:01Z")

</div>

When I run the app in Android Studio, I get this error which I didn’t find any solution for this. “Could not initialize class com.gradle.scan.agent.serialization.scan.a.g”

---

## [Problem with creating environment 1.13.2](https://discuss.gradle.org/t/problem-with-creating-environment-1-13-2/39923)

<div class="topic-metadata">

**Author:** [@OptimusMac](https://discuss.gradle.org/u/OptimusMac)\
**Replies:** 0\
**Last updated:** [May 12, 2021, 12:28pm UTC](https://discuss.gradle.org/t/problem-with-creating-environment-1-13-2/39923 "2021-05-12T12:28:08Z")

</div>

writes to console when trying to create environment help me please)

---

## [FAILURE: Build failed with an exception PROBLEM](https://discuss.gradle.org/t/failure-build-failed-with-an-exception-problem/36316)

<div class="topic-metadata">

**Author:** [@Erdem](https://discuss.gradle.org/u/Erdem)\
**Replies:** 1\
**Last updated:** [March 12, 2021, 10:35pm UTC](https://discuss.gradle.org/t/failure-build-failed-with-an-exception-problem/36316 "2021-03-12T22:35:03Z")

</div>

Hi! Can you help me? I can’t solve this problem FAILURE: Build failed with an exception. Where: Initialization script ‘C:\\Users\\Erdem\\AppData\\Local\\Temp\\Main\_main\_\_.gradle’ line: 21 What went wrong: A problem …

---

## [Email build scan activation is not sent](https://discuss.gradle.org/t/email-build-scan-activation-is-not-sent/37977)

<div class="topic-metadata">

**Author:** [@drodriguezhdez](https://discuss.gradle.org/u/drodriguezhdez)\
**Replies:** 2\
**Last updated:** [October 20, 2020, 12:38pm UTC](https://discuss.gradle.org/t/email-build-scan-activation-is-not-sent/37977 "2020-10-20T12:38:09Z")

</div>

Hello, I’m trying to take a look at build scans using the example repository, but I am not receiving any emails from the build scan activation.

---

## [Error Android Gradle UE4](https://discuss.gradle.org/t/error-android-gradle-ue4/37746)

<div class="topic-metadata">

**Author:** [@majid0011](https://discuss.gradle.org/u/majid0011)\
**Replies:** 0\
**Last updated:** [September 28, 2020, 8:23am UTC](https://discuss.gradle.org/t/error-android-gradle-ue4/37746 "2020-09-28T08:23:42Z")

</div>

Hi I have a problem when i want get packaging android ETS1 at the Unreal Engine 4.24 Please Please Help me

---

## [Scans.gradle.com maintenance](https://discuss.gradle.org/t/scans-gradle-com-maintenance/37521)

<div class="topic-metadata">

**Author:** [@guybrand](https://discuss.gradle.org/u/guybrand)\
**Replies:** 0\
**Last updated:** [September 8, 2020, 8:24am UTC](https://discuss.gradle.org/t/scans-gradle-com-maintenance/37521 "2020-09-08T08:24:48Z")

</div>

Due to database upgrades we need to run scans.gradle.com with degraded performance. There will be a short downtime on a weekend once everything is prepared. The systems should work as expected, but there may be some del…

---

## [Removing published build scans from scans.gradle.com](https://discuss.gradle.org/t/removing-published-build-scans-from-scans-gradle-com/26309)

<div class="topic-metadata">

**Author:** [@Rene](https://discuss.gradle.org/u/Rene)\
**Replies:** 1\
**Last updated:** [August 19, 2020, 7:28pm UTC](https://discuss.gradle.org/t/removing-published-build-scans-from-scans-gradle-com/26309 "2020-08-19T19:28:41Z")

</div>

If you have not yet activated your scan (i.e. when visiting the scan link you see a page asking your for an email address to activate it), you can use the “Delete this build scan” link at the bottom of the page to delete…

---

## [Gradle Scan - Security Assessment](https://discuss.gradle.org/t/gradle-scan-security-assessment/37177)

<div class="topic-metadata">

**Author:** [@marcellogalhardo](https://discuss.gradle.org/u/marcellogalhardo)\
**Replies:** 1\
**Last updated:** [August 7, 2020, 4:42pm UTC](https://discuss.gradle.org/t/gradle-scan-security-assessment/37177 "2020-08-07T16:42:55Z")

</div>

Hi everyone, I work in a company where privacy is a major need and the Android Team (me) is trying to make a case to get an approval from our security team. It’d be super nice if someone could help me with some questions…

---

## ["Problem forking build scan upload... java.lang.UnsupportedOperationException"](https://discuss.gradle.org/t/problem-forking-build-scan-upload-java-lang-unsupportedoperationexception/36175)

<div class="topic-metadata">

**Author:** [@autonomousapps](https://discuss.gradle.org/u/autonomousapps)\
**Replies:** 6\
**Last updated:** [June 26, 2020, 5:52pm UTC](https://discuss.gradle.org/t/problem-forking-build-scan-upload-java-lang-unsupportedoperationexception/36175 "2020-06-26T17:52:28Z")

</div>

Publishing build scan... Problem forking build scan upload FAILURE: Build failed with an exception. \* What went wrong: java.lang.UnsupportedOperationException (no error message) \* Try: Run with --stacktrace option to…

---

## ["Your build scan could not be displayed." what does this mean?](https://discuss.gradle.org/t/your-build-scan-could-not-be-displayed-what-does-this-mean/33302)

<div class="topic-metadata">

**Author:** [@lukecwik](https://discuss.gradle.org/u/lukecwik)\
**Replies:** 12\
**Last updated:** [June 26, 2020, 5:54am UTC](https://discuss.gradle.org/t/your-build-scan-could-not-be-displayed-what-does-this-mean/33302 "2020-06-26T05:54:21Z")

</div>

A few Apache Beam community members have mentioned that they get the same error when using --scan locally or when run via Jenkins. Here is an example link: https://gradle.com/s/mpfu3wpz2xfwe Is this a temporary issue …

[Next page](https://discuss.gradle.org/c/help-discuss/scans/32.md?page=1)
