https://kotlinlang.org logo
Title
j

Javier

08/11/2020, 7:24 AM
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?
org.gradle.unsafe.configuration-cache=true
https://docs.gradle.org/6.6/userguide/configuration_cache.html
Option configuration-cache doesn't accept value 'true'. Possible values are [OFF, ON, WARN]
All tutorials I saw said true too
o

octylFractal

08/11/2020, 7:27 AM
probably open an issue, looks like https://github.com/gradle/gradle/commit/1c882367e8f1db5fc323ccf5d9e673f4a0ad2dab didn't update docs
👍 1
n

no

08/11/2020, 9:16 AM
What version of Gradle are you using?
Make sure to match the docs with the version of Gradle which you are using.
👍 1
j

Javier

08/11/2020, 9:45 AM
Yeah, I updated the wrapper but I didn't update the system gradle version to 6.6
n

no

08/11/2020, 2:48 PM
What do you mean by system gradle version?
b

Ben Madore

08/11/2020, 2:58 PM
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
:yes: 1
n

no

08/11/2020, 3:09 PM
I would recommend always using the wrapper to avoid inconsistencies between the configuration of the project and the gradle version.
👍 1