org.gradle.configuration-cache #371
hamoid
started this conversation in
Development
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The gradle.properties file has these 3 lines commented out:
The reason they are not enabled is because there can be plugins which are not compatible with the configuration-cache.
I tried turning them on and orx builds fine. One thing that does not work is the deprecated
gradle.buildFinished
method which we use to print the snapshot orx version after building locally. The value is automatically displayed also when starting to build, but it can quickly scroll out of view. In the past there were times this value would change, and it was important to enter the right value in the template, but I think this was solved.There is no simple alternative for
buildFinished
, but we could just remove it.If we ever need to do something after building finishes, I found this trick, but I don't think it makes it possible to print the orx version, at least not in a straightforward way.
What this does is based on the Dataflow Actions from Gradle.
Are there other aspects that would not work if turning on the configuration-cache?
Beta Was this translation helpful? Give feedback.
All reactions