-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
build.gradle
48 lines (40 loc) · 1.12 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
import org.robolectric.gradle.AndroidProjectConfigPlugin
apply plugin: 'com.android.library'
apply plugin: AndroidProjectConfigPlugin
apply plugin: 'kotlin-android'
apply plugin: "com.diffplug.spotless"
spotless {
kotlin {
target '**/*.kt'
ktfmt('0.34').googleStyle()
}
}
android {
compileSdk 31
defaultConfig {
minSdkVersion 16
targetSdkVersion 31
multiDexEnabled true
}
compileOptions {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
android {
testOptions {
unitTests {
includeAndroidResources = true
}
}
}
}
dependencies {
compileOnly AndroidSdk.MAX_SDK.coordinates
implementation project(path: ':shadowapi', configuration: 'default')
implementation "androidx.multidex:multidex:$multidexVersion"
testCompileOnly AndroidSdk.MAX_SDK.coordinates
testRuntimeOnly AndroidSdk.MAX_SDK.coordinates
testImplementation project(":robolectric")
testImplementation "junit:junit:$junitVersion"
testImplementation "com.google.truth:truth:$truthVersion"
}