Android — How to add Gradle dependencies using ‘foreach’
Chema Rubio
1304

Thanks for the awesome post. I have a question. Sometimes it’s needed to have `configurations.all {
 resolutionStrategy.force “com.android.support:support-annotations:${SupportLibVersion}”
}` inside build.gradle file of modules (in android). How I’m able to tell Gradle to read `SupportLibVersion` from dependencies.gradle file?

Edit: I just could figure it our by this answer http://stackoverflow.com/a/28628926/513413

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.