Manage all your Android project dependency from one place
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
buildSrc
.gitignore
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

Kotlin DSL

KotlinKtxApplication

Manage all your Android project dependency from one place

Read the below post to know more

http://www.askfortricks.com/2018/02/master-gradle-dependency-management-with-kotlin-buildsrc-for-android/

Create buildSrc directory

To add the buildSrc module to your project, all you need to do is to:

  • Create a buildSrc folder in the root of your Android project.
  • After you sync your Gradle files (using Sync Project with Gradle Files), Android Studio will detect the folder and populate it with the standard build folders (build/ and .gradle/).

Structure of buildSrc directory

Structure of buildSrc directory

After completing the steps ,it will look like below

Final drop down effect