forked from AlphaWallet/alpha-wallet-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
52 lines (47 loc) · 1.96 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
48
49
50
51
52
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.4.10'
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:3.5.4' //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:7.0.8"
// 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.4'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.3.0'
}
}
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
}
// WARNING WARNING WARNING
// you are about to add here a plugin that is only related to the Android app
// don't do that. add that repository to app/build.gradle