-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
53 lines (49 loc) · 1.69 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
53
buildscript {
ext.kotlin_version = '1.5.1'
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'
classpath "io.realm:realm-gradle-plugin:10.11.1"
// 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.14'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.2'
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'
}
}
tasks.withType(Test) {
maxParallelForks = 2
forkEvery = 80
maxHeapSize = "2048m"
minHeapSize = "1024m"
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}