-
Notifications
You must be signed in to change notification settings - Fork 366
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
Add recipe to enable Develocity build cache for Gradle #4859
Conversation
rewrite-gradle/src/main/java/org/openrewrite/gradle/EnableDevelocityBuildCache.java
Outdated
Show resolved
Hide resolved
rewrite-gradle/src/test/java/org/openrewrite/gradle/EnableDevelocityBuildCacheTest.java
Outdated
Show resolved
Hide resolved
rewrite-gradle/src/main/java/org/openrewrite/gradle/EnableDevelocityBuildCache.java
Outdated
Show resolved
Hide resolved
rewrite-gradle/src/main/java/org/openrewrite/gradle/EnableDevelocityBuildCache.java
Outdated
Show resolved
Hide resolved
rewrite-gradle/src/main/java/org/openrewrite/gradle/EnableDevelocityBuildCache.java
Outdated
Show resolved
Hide resolved
…locityBuildCache.java Co-authored-by: Jacob van Lingen <[email protected]>
rewrite-gradle/src/main/java/org/openrewrite/gradle/EnableDevelocityBuildCache.java
Outdated
Show resolved
Hide resolved
rewrite-gradle/src/main/java/org/openrewrite/gradle/EnableDevelocityBuildCache.java
Show resolved
Hide resolved
rewrite-gradle/src/main/java/org/openrewrite/gradle/EnableDevelocityBuildCache.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggestions could not be made:
- rewrite-groovy/src/test/java/org/openrewrite/groovy/tree/VariableDeclarationsTest.java
- lines 224-224
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggestions could not be made:
- rewrite-groovy/src/test/java/org/openrewrite/groovy/tree/VariableDeclarationsTest.java
- lines 224-224
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks both! I've applied some simplifications still and with that we're good to merge.
* Add enable buildcache recipe for gradle * Fix description * Update test cases and rename config * Add initial version of visitor * Update rewrite-gradle/src/main/java/org/openrewrite/gradle/EnableDevelocityBuildCache.java Co-authored-by: Jacob van Lingen <[email protected]> * Indent fix * Polish * Change validation * Remove linebreaks * Simplify how build cache is created and extracted * Only look for develocity at the root, and buildCache within that * Show a richer example for `remotePushEnabled` --------- Co-authored-by: Jacob van Lingen <[email protected]> Co-authored-by: Tim te Beek <[email protected]>
* Add enable buildcache recipe for gradle * Fix description * Update test cases and rename config * Add initial version of visitor * Update rewrite-gradle/src/main/java/org/openrewrite/gradle/EnableDevelocityBuildCache.java Co-authored-by: Jacob van Lingen <[email protected]> * Indent fix * Polish * Change validation * Remove linebreaks * Simplify how build cache is created and extracted * Only look for develocity at the root, and buildCache within that * Show a richer example for `remotePushEnabled` --------- Co-authored-by: Jacob van Lingen <[email protected]> Co-authored-by: Tim te Beek <[email protected]>
What's changed?
Recipe to enable Develocity build cache, functionality is identical to Maven equivalent merged in:
What's your motivation?
Anything in particular you'd like reviewers to focus on?
Anyone you would like to review specifically?
Have you considered any alternatives or workarounds?
Any additional context
Checklist