forked from mycelium-com/wallet-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
51 lines (45 loc) · 1.17 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
apply from: 'tools.gradle'
apply plugin: 'kotlin'
apply plugin: 'kotlin-kapt'
apply from: 'integration-test.gradle'
repositories {
google()
jcenter()
}
buildscript {
apply from: 'ext_settings.gradle'
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:$gradleVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.3.2'
classpath "org.jetbrains.dokka:dokka-gradle-plugin:0.10.0"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
}
}
kapt {
useBuildCache = true
}
allprojects {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:deprecation,unchecked"
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
repositories {
google()
jcenter()
}
}
def props = new Properties()
try {
//this allows having a drive with the keys to be mounted for releases, only.
props.load(new FileInputStream("keys.properties"))
} catch(Exception ignore) {
}
props.each {
key, val -> extensions."$key" = val
}