-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to Gradle 5.6 #433
Update to Gradle 5.6 #433
Conversation
I suspect the new failure is due to the restricted classpath changes that kicked in with 5.6. Will investigate |
I just cleared the travis cache and restarted the build. If it works now, then the problem was #429 all along. It seems that the newer gradle versions are less friendly to our TestProvisioner. |
Looks like that's the case!
…On Sun, Aug 18, 2019 at 7:38 PM Ned Twigg ***@***.***> wrote:
I just cleared the travis cache and restarted the build. If it works now,
then the problem was #429
<#429> all along. It seems
that the newer gradle versions are less friendly to our TestProvisioner.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#433?email_source=notifications&email_token=AAKMJPXPCYI7CY3R5U7766TQFIBSJA5CNFSM4IL3JPJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4RQWPY#issuecomment-522390335>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAKMJPUV6SE4J2T2VPOHFCDQFIBSJANCNFSM4IL3JPJQ>
.
|
@nedtwigg would you be so kind as to implement a policy to check the SHA256 checksum of all of the Since the Here's the guide to checking the SHA256 checksums: @ZacSweers, please don't take this request personally, this is fundamentally a security of the supply chain thing. |
Roger @JLLeitschuh, thanks for the suggestion. It would be cool if there were a service like this: https://gradle.org/gradle-wrapper-is-secure/github/diffplug/spotless/pull/433 Which then shows a checkmark if the wrapper's checksum matches. Maybe even a https://shields.io/ badge that users could put into the README, so that if a bad gradle.wrapper ever got merged to master, it would show up there. In the meantime, I'll keep this in mind when merging PRs of this sort for my opensource projects. |
Another idea you could do is run the Gradle wrapper task on CI and fail the
built if there's a dirty git state after (use git porcelain)
Just add this to before_install in the Travis yml
```
- ./gradle wrapper (with version configurations)
- if [ ! -z "$(git status --porcelain)" ]; then echo "Gradle files changed
after running wrapper when they should be unchanged. Please investigate";
exit 1; fi
```
It's not as robust as checking a checksum but it's better than nothing as a
start
|
A couple things:
|
Quick followup from #428. Hoping this allows removing the guava classpath dependency as well, will test