Easily manage your Android project dependencies!
apply from: 'dependencies.gradle'
android {
def config = rootProject.extensions.getByName("ext")
compileSdkVersion config["androidCompileSdkVersion"]
defaultConfig {
minSdkVersion config["androidMinSdkVersion"]
targetSdkVersion config["androidTargetSdkVersion"]
}
// Other configurations...
}
dependencies {
def dependencies = rootProject.ext.dependencies
def testDependencies = rootProject.ext.testDependencies
implementation dependencies.kotlin
testImplementation testDependencies.junit
}