1ad1c14139
- JCenter is one of the places from where we were getting libraries for the app, however JCenter is shutting down: https://jeroenmols.com/blog/2021/02/04/migratingjcenter/. We have to obtain our libraries from elsewhere, fortunatley all the libraries that we need are now available in MavenCentral.
37 lines
1 KiB
Groovy
37 lines
1 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
|
|
ext {
|
|
kotlin_version = '1.4.31'
|
|
nav_version = '2.3.4'
|
|
}
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven { url 'https://plugins.gradle.org/m2/' }
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:4.1.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.5'
|
|
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.5.1'
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven { url 'https://plugins.gradle.org/m2/' }
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|