Avoid using project during task execution. Add extra parameters instead.
Don't use BuildType as parameter. Use directly buildTypeName as parameter instead.
How can it be tested?
Ideally, I could enable configuration cache in shot-consumer project, but this requires to update AGP and Gradle. Should I do the update? Do you prefer that I do it as current PR or as separate PR? I see that there is a pending PR with an update. #288
Disclaimer
I don't know Scala. All changes were done just by following current code. Please keep that in mind during code review.
PS. BTW, having Kotlin as programming language would enable much more people to contribute.
:pushpin: References
:tophat: What is the goal?
Support Gradle configuration cache.
How is it being implemented?
How can it be tested?
Ideally, I could enable configuration cache in
shot-consumer
project, but this requires to update AGP and Gradle.Should I do the update? Do you prefer that I do it as current PR or as separate PR?I see that there is a pending PR with an update. #288Disclaimer
I don't know Scala. All changes were done just by following current code. Please keep that in mind during code review.
PS. BTW, having Kotlin as programming language would enable much more people to contribute.