If we write version number on top of the build.gradle file and use it on ahead of a standalone string keyword, the plugin doesn't work and doesn't show any suggestion. Like:
dependencies.gradle:
ext {
retrofit2Version = '2.4.0'
// Data
dataDependencies = [
retrofit: "com.squareup.retrofit2:retrofit:$retrofit2Version" //It doesn't show any suggestion HERE.
]
data build.gradle:
dependencies {
def dataDependencies = rootProject.ext.dataDependencies
implementation dataDependencies.retrofit
}
Thanks 🙏
If we write version number on top of the
build.gradlefile and use it on ahead of a standalone string keyword, the plugin doesn't work and doesn't show any suggestion. Like:dependencies.gradle:
ext { retrofit2Version = '2.4.0' // Data dataDependencies = [ retrofit: "com.squareup.retrofit2:retrofit:$retrofit2Version" //It doesn't show any suggestion HERE. ]data build.gradle:
dependencies { def dataDependencies = rootProject.ext.dataDependencies implementation dataDependencies.retrofit }Thanks 🙏