The request to add the lines to the build.gradle
is unclear. None of the files in the start code have the structure that is required. Simply adding
buildscript {
ext {
lifecycle_version = '2.5.1'
}
}
to build.gradle.kt
results with a bunch of errors about buildscript
and ext
not being defined.