Skip to content
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

Gradle not cached, installed on every run #29111

Closed
bnchrch opened this issue Aug 4, 2023 · 1 comment
Closed

Gradle not cached, installed on every run #29111

bnchrch opened this issue Aug 4, 2023 · 1 comment
Assignees

Comments

@bnchrch
Copy link
Contributor

bnchrch commented Aug 4, 2023

Problem

We install gradle everytime we build java connectors

Why

Gradle is dumb and reinstalls itself

Solutions

  1. in with_gradle prerun ./gradlew to get it to install itself
  2. set gradle/wrapper/gradle-wrapper.properties based on this forum post

Appendix

  1. slack convo
@bnchrch bnchrch changed the title Add gradlew install step to with_gradle Gradle not cached, installed on every run Aug 4, 2023
@alafanechere alafanechere self-assigned this Sep 1, 2023
@postamar
Copy link
Contributor

#30384 effectively implements solution 1, and the gradle cache ensures that it's not downloaded more than one. This isn't ideal, so feel free to reopen if more needs to be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants