-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
Make the plugin compatible with Gradle's configuration cache #157
Conversation
Signed-off-by: Paul Merlin <[email protected]>
Signed-off-by: Paul Merlin <[email protected]>
Signed-off-by: Paul Merlin <[email protected]>
Signed-off-by: Paul Merlin <[email protected]>
by removing any use of `Project` at execution time Signed-off-by: Paul Merlin <[email protected]>
by making the ProjectBuilder build offline before applying the plugin now that the offline start parameter is read earlier Signed-off-by: Paul Merlin <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #157 +/- ##
============================================
- Coverage 80.10% 79.48% -0.63%
- Complexity 233 244 +11
============================================
Files 13 15 +2
Lines 769 809 +40
Branches 117 121 +4
============================================
+ Hits 616 643 +27
- Misses 92 102 +10
- Partials 61 64 +3
Continue to review full report at Codecov.
|
lowest supported Gradle version for the used APIs Signed-off-by: Paul Merlin <[email protected]>
instead of a nightly Signed-off-by: Paul Merlin <[email protected]>
Hi @michel-kraemer, I'm sure you were already notified of this PR but I have some specific questions. There are two ways of doing integration testing of Gradle versions in the plugin's build. One in This PR uses I also would like some guidance on the Now for some context, I work with large builds that make use of your very useful plugin. These builds are suffering from long Gradle configuration time and being able to use the configuration cache is a life saver for their "users". Thank you for considering that PR. |
@eskatos Hey! Sorry for my late response. I was really busy last week. Thank you so much for the hard and thorough work. This looks really impressive. I did some minor edits (mostly in terms of code style but nothing functional). Don't worry about the different integration tests or the code coverage. Everything looks OK. Also, I'm fine with the milestone. We can replace it later.
Sure thing. I'm happy to hear that my work is useful for you! |
See #156
Note that the configuration cache will be introduced in Gradle 6.6.
This pull-request currently add integration testing with 6.6-milestone-2.
6.6 RC1 is around the corner.
This PR doesn't change the supported Gradle versions and let the plugin still work with Gradle >= 2.0.