Skip to content

Instantly share code, notes, and snippets.

@BartoszJarocki
Created May 13, 2017
Embed
What would you like to do?
android {
// Use the following syntax to access properties you defined at the project level:
// rootProject.ext.property_name
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
...
}
...
dependencies {
compile "com.android.support:appcompat-v7:${rootProject.ext.supportLibraryVersion}"
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment