buildscript {
ext {
...
lifecycle_version = '2.5.1'
}
}
Doesn't work because lifecycle_version
isn't declared anywhere. I just put the version at the end of the dependency declaration. I don't think it is covered how to properly handle an undeclared variable in a gradle build script.