-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
45 lines (34 loc) · 2.27 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
// TODO: Upgrade to Kotlin 1.5. Can't build with it, a.t.m. No idea, why.
// (Works on Element!)
ext.kotlin_version = '1.6.10'
ext.moshi_version = '1.12.0'
ext.kotlin_coroutines_version = "1.5.0"
repositories {
google()
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// TODO: Upgrade to 10.x. Currently fails with "AbstractMethodError: abstract method 'long io.realm.internal.RealmProxyMediator.insertOrUpdat e([...]'"
// (Works on Element!)
classpath "io.realm:realm-gradle-plugin:10.8.0"
classpath 'com.testdroid:gradle:2.63.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
maven { url "https://jitpack.io" }
maven { url "https://raw.githubusercontent.com/guardianproject/gpmaven/master" }
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}