-
Notifications
You must be signed in to change notification settings - Fork 127
/
Copy pathbuild.android.gradle
34 lines (31 loc) · 1.27 KB
/
build.android.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
//apply(plugin = "kotlin-android")
//apply(plugin = "kotlin-android-extensions")
// apply plugin: 'kotlin-android'
// apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion(project.findProperty("android.compile.sdk.version")?.toString()?.toIntOrNull() ?: 30)
buildToolsVersion(project.findProperty("android.buildtools.version")?.toString() ?: "30.0.2")
defaultConfig {
multiDexEnabled true
minSdkVersion(project.findProperty("android.min.sdk.version")?.toString()?.toIntOrNull() ?: 16) // Previously 18
targetSdkVersion(project.findProperty("android.target.sdk.version")?.toString()?.toIntOrNull() ?: 30)
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
//testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
}
dependencies {
androidTestImplementation 'androidx.test:core:1.4.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
//androidTestImplementation 'com.android.support.test:runner:1.0.2'
}
android {
sourceSets {
main {
assets.srcDirs = [
'src/commonMain/resources',
'src/commonTest/resources',
]
}
}
}