12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
- buildscript {
- ext.kotlin_version = "1.5.21"
- repositories {
- google()
- maven { url 'https://jitpack.io' }
- mavenCentral()
- maven { url "https://mirrors.tencent.com/nexus/repository/maven-public/" }
- maven { url 'http://maven.faceunity.com/repository/maven-public/' }
- }
- dependencies {
- classpath "com.android.tools.build:gradle:4.2.2"
- classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30'
- classpath 'com.google.gms:google-services:4.3.10'
- classpath 'com.google.firebase:firebase-crashlytics-gradle:2.7.1'
- classpath 'com.google.firebase:perf-plugin:1.4.0'
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
- }
- }
- allprojects {
- repositories {
- flatDir {
- dirs project(':room').file('libs')
- }
- google()
- maven { url 'https://jitpack.io' }
- mavenCentral()
- maven { url "https://mirrors.tencent.com/nexus/repository/maven-public/" }
- maven { url 'http://maven.faceunity.com/repository/maven-public/' }
- }
- configurations.all{
- resolutionStrategy{
- force 'com.squareup.okhttp3:okhttp:4.9.1'
- }
- }
- }
- task clean(type: Delete) {
- delete rootProject.buildDir
- }
|