This message was deleted.
# community-support
s
This message was deleted.
v
The error is telling what to do. Make sure both build use the same build cache configuration.
g
Should they both have the same
gradle.properties
?
c
they both need the same setting in
gradle.properties
for build cache.
v
More importantly, they also need the same build cache settings in their settings scripts.
g
I'm not really sure how to proceed in this case. When you talk about build cache settings, do you mean something like this?
Copy code
buildCache {
    remote(HttpBuildCache) {
        allowUntrustedServer = true
        allowInsecureProtocol = true
        enabled = isRemoteCacheEnabled
        push = isCi
        url = "$serverUrl/cache/"

        if (isCi) {
            credentials {
                username = settings.providers.environmentVariable("GE_USERNAME").get()
                password = settings.providers.environmentVariable("GE_PASSWORD").get()
            }
        }
    }
}
👍 1
c
yes
g
Is it okay if I ignore that warning? Are there any unexpected consequences?
v
Ignoring warnings is most times a bad idea.
Iirc, an included build will use the build cache configuration of the including build. By having different configuration, it can then behave differently when run as included build or directly, e. g. from ide.