I renamed my .gradle folder to make gradle generate a new one, and it was working again for me.
On Tue, Feb 19, 2019 at 11:24 AM Michael Luckey <adude3...@gmail.com> wrote: > You adopted .gradle according to > https://cwiki.apache.org/confluence/display/BEAM/Gradle+Tips -> Create > Build Scan on failed builds > > So you probably do not want to delete, but edit. > > I missed that piece during migration to gradle 5. Sorry for the > inconvenience > > On Tue, Feb 19, 2019 at 8:18 PM Alex Amato <ajam...@google.com> wrote: > >> Is this some sort of locally installed dep, can I just delete the .gradle >> folder? >> >> On Tue, Feb 19, 2019 at 11:17 AM Alex Amato <ajam...@google.com> wrote: >> >>> My gradle knowledge is a bit limited, printing that file: >>> >>> ajamato@ajamato-linux0:~/go/src/github.com/apache/beam$ cat >>> /usr/local/google/home/ajamato/.gradle/init.d/buildScan.gradle >>> initscript { >>> repositories { >>> maven { url 'https://plugins.gradle.org/m2' } >>> } >>> dependencies { >>> classpath 'com.gradle:build-scan-plugin:1.13.1' >>> } >>> } >>> rootProject { >>> apply plugin: com.gradle.scan.plugin.BuildScanPlugin >>> buildScan { >>> publishOnFailure() >>> termsOfServiceUrl = 'https://gradle.com/terms-of-service' >>> termsOfServiceAgree = 'yes' >>> } >>> } >>> >>> >>> >>> >>> On Tue, Feb 19, 2019 at 10:59 AM Alex Amato <ajam...@google.com> wrote: >>> >>>> Is there some local step I should take to upgrade the plugin? I assumed >>>> the correct version is pulled in through gradle. >>>> >>>> >>>> >>>> https://github.com/apache/beam/blob/6ce9701dff711906e09eb163eeb7bdde47220c08/build.gradle#L22 >>>> >>>> Though does the use of apply False, not override my local version or >>>> something? >>>> >>>> > Task :buildSrc:build UP-TO-DATE >>>> FAILURE: Build failed with an exception. >>>> * Where: >>>> Initialization script >>>> '/usr/local/google/home/ajamato/.gradle/init.d/buildScan.gradle' line: 10 >>>> * What went wrong: >>>> Failed to apply plugin [class 'com.gradle.scan.plugin.BuildScanPlugin'] >>>> > This version of Gradle requires version 2.0.2 of the build scan >>>> plugin or later. >>>> Please see >>>> https://gradle.com/scans/help/gradle-incompatible-plugin-version for >>>> more information. >>>> * Try: >>>> Run with --stacktrace option to get the stack trace. Run with --info or >>>> --debug option to get more log output. Run with --scan to get full >>>> insights. >>>> * Get more help at https://help.gradle.org >>>> BUILD FAILED in 0s >>>> This version of Gradle requires version 2.0.2 of the build scan plugin >>>> or later. >>>> Please see >>>> https://gradle.com/scans/help/gradle-incompatible-plugin-version for >>>> more information. >>>> >>>> >>>>