forked from AlphaWallet/alpha-wallet-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
47 lines (44 loc) · 1.75 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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:7.0.3'
//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.10'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.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
}