Last active
January 10, 2018 20:24
-
-
Save mtilbrook-dev/804722c4ef5fbb5712f5213a172c8786 to your computer and use it in GitHub Desktop.
Apply shared dependencies to android project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Top-level build file where you can add configuration options common to all sub-projects/modules. | |
apply from: 'dependencies.gradle' | |
buildscript { | |
// Gradle will not find vars defined in an external file when referring to them | |
// in the buildscript block, unless you link it from the buildscript block, too. | |
apply from: 'dependencies.gradle' | |
repositories { | |
google() | |
jcenter() | |
} | |
dependencies { | |
gradlePlugins.each { plugin -> | |
classpath plugin | |
} | |
} | |
} | |
// rest of your root build.gradle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment