This message was deleted.
# caching
s
This message was deleted.
n
The included build should inherit the cache settings from the outside build. Can you clarify what you need here?
a
my included build is inside pluginManagement block i.e. pluginManagement { includeBuild("build-logic-settings") } doc says that
This configuration precedence does not apply to plugin builds included through pluginManagement as these are loaded before the cache configuration itself.
I've tried to add the same config in my build-logic-settings but it didn't work.
n
Ah, i see. in that case can you share the GE plugin version applied to this included build? as well as the entire configuration?
a
GE plugin version is 3.11.2. I'm adding this code in build-logic-settings settings file
and I have a separate convention plugin in build-logic-settings that I'm using to configure root project
n
Does it work with the latest GE plugin version?
a
nope, everything works fine for the whole project, but for build-logic-settings no matter how I tried it did not work, what's interesting is that with
Copy code
remote<HttpBuildCache> {
 ...
}
it works fine but with
Copy code
remote(gradleEnterprise.buildCache) {
...
    }
it's not
I've created a sample project with a similar configuration https://github.com/ArthurGhazaryanPicsart/build-cache-sample
n
Thanks for the reproducer. Does it work if you use a groovy settings.gradle file in the included build?
a
no, it does not work with groovy too
n
thanks for checking. i'll bring this up with the team
a
Thank you!
n
We will take a look at fixing this in a future version. In the meantime only the
HttpBuildCache
can be used from an included build.
👍 1