Thanks for the suggestion Luke.

Unfortunately, this didn't resolve the issue. Maybe I will need to wait for
2.4.3. :/. Or I will have to remove spotless locally.

Maybe I should chime in on that thread as well and let them know its
occurring for me on 2.4.2

When I used 2.4.2 it had the same issue (seemed to warn that it also wanted
to use 2.3). I'm not sure where this warning is coming from, and if
resolving it would even help at all.

*BUILD FAILED* in 23s

1 actionable task: 1 executed


WARNING: Several versions of the build scan plugin were applied: [2.4.2,
2.3].

The build scan data was captured by version [2.4.2].

This is often caused by multiple init scripts and/or build scripts applying
the plugin.


Publishing build scan...

https://gradle.com/s/rdkcndx7zmdio



When I used 2.3, no warning was shown

*BUILD FAILED* in 21s

1 actionable task: 1 executed


Publishing build scan...

https://gradle.com/s/bzzudejssn4mw




On Thu, Jun 25, 2020 at 3:58 PM Luke Cwik <[email protected]> wrote:

> I have had a similar problem in the past and had reached out to
> the company on the gradle forum[1]. They debugged that it was an issue with
> how some plugin was generating some data that was causing issues on their
> end. They suggested using a newer version and eventually fixed the problem
> on their end as well. You could try the same.
>
> 1:
> https://discuss.gradle.org/t/your-build-scan-could-not-be-displayed-what-does-this-mean/33302
>
>
> On Thu, Jun 25, 2020 at 3:52 PM Alex Amato <[email protected]> wrote:
>
>> Hi, for some reason I get this error when I build my build scan URLS.
>>
>> Any ideas why this is occurring? :(
>> Thanks for taking a look at this.
>>
>> https://scans.gradle.com/s/wvqklwnjrl3ky
>>
>> Here is where I enable build scans. Any issue with the plugin version or
>> something? Though, I also had it occur when I commented out the plugin and
>> passed in --scan manually.
>>
>> ajamato@ajamato-linux0:~/beam$ cat ~/.gradle/init.d/buildScan.gradle
>>
>>
>> initscript {
>>
>>   repositories {
>>
>>     gradlePluginPortal()
>>
>>   }
>>
>>   dependencies {
>>
>>     classpath 'com.gradle:build-scan-plugin:2.0.2'
>>
>>   }
>>
>> }
>>
>> rootProject {
>>
>>   apply plugin: com.gradle.scan.plugin.BuildScanPlugin
>>
>>   buildScan {
>>
>>     publishOnFailure()
>>
>>     termsOfServiceUrl = 'https://gradle.com/terms-of-service'
>>
>>     termsOfServiceAgree = 'yes'
>>
>>   }
>>
>> }
>>
>>
>>

Reply via email to