Hey :wave: I am new to gradle, I have the followin...
# community-support
d
Hey 👋 I am new to gradle, I have the following questions reagarding gradle and the gradle plugin that is bundled with intellij. I am working a project with composite build and one of the module needs to download an artifact from our local artifact store. 1. Building the project using
./gradlew build
works perfectly fine but using the
refresh/reload gradle project
from the intellij plugin fails saying it cannot find the dependency. 2. Building from cli build project in a few seconds while reloading the project takes about a minute as it builds the model again and finally fails for the above reason.(1) 3. I also see this message both on command line and the plugin
Using the build cache is enabled, but no build caches are configured or enabled.
How do I configure the build cache? In the IDE settings, Build Tools -> Gradle , Build and run is set to gradle and the distribution is selected as wrapper. Can some one help me understand what the problem is. Thanks in Advance.
v
Hard for me to reason about 1 and 2 from the given information. But 3 should mean that you disabled the local cache. The local cache is enabled by default and no remote cache defined. I'd say getting that message means you enabled build cache per-se, but disabled the local build cache.
d
Thank you for your response. I see this
org.gradle.caching=true
in my
gradle.properties
how do I enable the local build cache ?
v
By not disabling it. As I said, it is enabled by default unless you disable it in your settings script or an init script.