Skip to content

TheHemantKaushik/android-dependencies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

android-dependencies

Easily manage your Android project dependencies!

How to use:

1. Add dependencies.gradle file to your project's root directory.


2. Add this line to your project's build.gradle file:

apply from: 'dependencies.gradle'


3. In module's build.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
}

That's it!

About

Latest Android and Androidx dependencies

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published