I saw this error multiple times, but I didn't see ...
# gradle
j
I saw this error multiple times, but I didn't see in the docs we should use
on
, it said
true
. Is this a typo?
Copy code
org.gradle.unsafe.configuration-cache=true
https://docs.gradle.org/6.6/userguide/configuration_cache.html
Copy code
Option configuration-cache doesn't accept value 'true'. Possible values are [OFF, ON, WARN]
All tutorials I saw said true too
o
probably open an issue, looks like https://github.com/gradle/gradle/commit/1c882367e8f1db5fc323ccf5d9e673f4a0ad2dab didn't update docs
👍 1
n
What version of Gradle are you using?
Make sure to match the docs with the version of Gradle which you are using.
👍 1
j
Yeah, I updated the wrapper but I didn't update the system gradle version to 6.6
n
What do you mean by system gradle version?
b
i assume he means the version of gradle he has actually installed and on the PATH - the one that would execute if he typed
gradle build
instead of
./gradlew build
👌 1
n
I would recommend always using the wrapper to avoid inconsistencies between the configuration of the project and the gradle version.
👍 1