Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It doesn't work if you write variable for version number AND implement dependency with def keyword #13

Open
Drjacky opened this issue Sep 28, 2018 · 0 comments

Comments

@Drjacky
Copy link

Drjacky commented Sep 28, 2018

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 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants