Created
May 13, 2020 08:16
-
-
Save rakib10rr3/26775a2d8597d9f89ea4915e02f2ac6e to your computer and use it in GitHub Desktop.
android project level build file for jetpack and other important libraries
This file contains 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. | |
buildscript { | |
ext.kotlin_version = '1.3.72' | |
ext.retrofit_version = '2.6.0' | |
ext.lifecycle_version = "2.2.0" | |
ext.nav_version = '2.2.0' | |
ext.moshi_version = "1.9.2" | |
ext.room_version = "2.2.5" | |
repositories { | |
google() | |
jcenter() | |
maven { | |
url 'https://maven.fabric.io/public' | |
} | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:3.6.3' | |
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version" | |
classpath 'com.google.gms:google-services:4.3.3' | |
classpath 'io.fabric.tools:gradle:1.31.2' | |
// NOTE: Do not place your application dependencies here; they belong | |
// in the individual module build.gradle files | |
} | |
} | |
allprojects { | |
repositories { | |
google() | |
jcenter() | |
maven { url 'https://jitpack.io' } | |
} | |
} | |
task clean(type: Delete) { | |
delete rootProject.buildDir | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment