forked from cashapp/copper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
58 lines (53 loc) · 1.42 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
54
55
56
57
58
buildscript {
ext.versions = [
'minSdk': 14,
'compileSdk': 27,
]
ext.deps = [
'androidx': [
'annotations': 'androidx.annotation:annotation:1.0.0',
'test': [
'runner': 'androidx.test:runner:1.2.0',
],
],
'kotlinStdLib': 'org.jetbrains.kotlin:kotlin-stdlib',
'kotlinCoroutines': 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.8',
'rxJava2': 'io.reactivex.rxjava2:rxjava:2.2.19',
'rxJava3': 'io.reactivex.rxjava3:rxjava:3.0.3',
'junit': 'junit:junit:4.13',
'truth': 'com.google.truth:truth:1.0.1',
'turbine': 'app.cash.turbine:turbine:0.1.1',
]
repositories {
mavenCentral()
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.72'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.12.0'
}
}
subprojects {
repositories {
mavenCentral()
google()
jcenter()
}
tasks.withType(org.jetbrains.kotlin.gradle.dsl.KotlinCompile).configureEach { task ->
task.kotlinOptions {
freeCompilerArgs += [
'-progressive',
'-XXLanguage:+NewInference',
]
}
}
plugins.withId('com.vanniktech.maven.publish') {
signing {
def signingKey = findProperty('signingKey')
def signingPassword = ''
useInMemoryPgpKeys(signingKey, signingPassword)
}
}
}