2018-10-29 21:49:42 +00:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
2019-04-26 17:23:26 +00:00
|
|
|
|
|
|
|
ext {
|
2021-03-23 05:31:40 +00:00
|
|
|
kotlin_version = '1.4.31'
|
|
|
|
nav_version = '2.3.4'
|
2019-04-26 17:23:26 +00:00
|
|
|
}
|
|
|
|
|
2018-10-29 21:49:42 +00:00
|
|
|
repositories {
|
|
|
|
google()
|
2021-03-02 06:26:37 +00:00
|
|
|
mavenCentral()
|
|
|
|
maven { url 'https://plugins.gradle.org/m2/' }
|
2018-10-29 21:49:42 +00:00
|
|
|
}
|
|
|
|
dependencies {
|
2021-03-24 04:27:49 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:4.1.3'
|
2018-10-29 21:49:42 +00:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2019-04-12 01:43:58 +00:00
|
|
|
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
|
2021-03-24 04:27:49 +00:00
|
|
|
classpath 'com.google.gms:google-services:4.3.5'
|
|
|
|
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.5.1'
|
2018-10-29 21:49:42 +00:00
|
|
|
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
2021-03-02 06:26:37 +00:00
|
|
|
mavenCentral()
|
|
|
|
maven { url 'https://plugins.gradle.org/m2/' }
|
|
|
|
// Limit which libraries can be obtained from JCenter to these ones specified below
|
|
|
|
jcenter() {
|
|
|
|
content {
|
|
|
|
includeModule("com.amitshekhar.android", "debug-db")
|
|
|
|
includeModule("com.amitshekhar.android", "debug-db-base")
|
|
|
|
includeModule("com.moldedbits.r2d2", "r2d2")
|
|
|
|
includeModule("me.dm7.barcodescanner", "zxing")
|
|
|
|
includeModule("me.dm7.barcodescanner", "core")
|
|
|
|
includeModule("com.andrognito.patternlockview", "patternlockview")
|
|
|
|
}
|
2018-12-14 21:23:12 +00:00
|
|
|
}
|
2018-10-29 21:49:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|