Compare the:
compile 'org.apache.commons:commons-lang3:3.6'
compile "org.apache.commons:commons-lang3:3.6"
I used to use the ''
in my build.gradle because it's simpler than ""
and ("")
.
However I found the extra variables not work using ''
, for example,
Gradle is unable to resolve :
compile 'org.apache.commons:commons-lang3:$versions.commonsLang'
,
compile "org.apache.commons:commons-lang3:$versions.commonsLang"
is
working.