You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.7 KiB
47 lines
1.7 KiB
buildscript {
|
|
repositories {
|
|
// don't add anything here until you read to the bottom of this bracket
|
|
google()
|
|
jcenter()
|
|
mavenCentral()
|
|
maven { url 'https://jitpack.io' }
|
|
// WARNING WARNING WARNING
|
|
// you are about to add here a repository which provides some library for the Android app
|
|
// don't do that. add that repository to app/build.gradle
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:4.2.2'
|
|
//NB - there is an issue with newer versions of gradle. The APK balloons out, so far haven't diagnosed why.
|
|
//If you want to try upgrading gradle plugin past 3.5.4 you will need to also diagnose the APK ballooning issue.
|
|
classpath "io.realm:realm-gradle-plugin:10.8.0"
|
|
// WARNING WARNING WARNING
|
|
// you are about to add here a dependency to be used in the Android app
|
|
// don't do that. add that dependency to app/build.gradle
|
|
classpath 'com.google.gms:google-services:4.3.8'
|
|
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.31'
|
|
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.6.1'
|
|
classpath 'com.google.dagger:hilt-android-gradle-plugin:2.40.5'
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
mavenCentral()
|
|
maven { url 'https://jitpack.io' }
|
|
// WARNING WARNING WARNING
|
|
// you are about to add here a repository which provides some library for the Android app
|
|
// don't do that. add that repository to app/build.gradle
|
|
}
|
|
|
|
configurations.all {
|
|
resolutionStrategy {
|
|
force 'com.google.firebase:firebase-analytics:16.5.0'
|
|
}
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|
|
|