Unverified Commit 22e41055 authored by Hanwen Cheng's avatar Hanwen Cheng Committed by GitHub

build: upgrade andriod compling sdk version fix building error (#689)

parent f3499fb2
Pipeline #105785 failed with stages
in 3 minutes and 19 seconds
......@@ -171,7 +171,7 @@ android {
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
// Detox-specific additions to pro-guard, uncomment following line if pro-guard is enabled.
// proguardFile "${rootProject.projectDir}/../node_modules/detox/android/detox/proguard-rules-app.pro"
proguardFile "${rootProject.projectDir}/../node_modules/detox/android/detox/proguard-rules-app.pro"
}
}
splits {
......
......@@ -2,10 +2,10 @@
buildscript {
ext {
buildToolsVersion = "28.0.3"
buildToolsVersion = "29.0.3"
minSdkVersion = 18
compileSdkVersion = 28
targetSdkVersion = 28
compileSdkVersion = 29
targetSdkVersion = 29
kotlinVersion = '1.3.41'
}
repositories {
......@@ -46,15 +46,15 @@ subprojects {
resolutionStrategy.eachDependency { details ->
if (details.requested.group == 'com.android.support'
&& !details.requested.name.contains('multidex') ) {
details.useVersion "28.0.3"
details.useVersion "29.0.3"
}
}
}
afterEvaluate {project ->
if (project.hasProperty("android")) {
android {
compileSdkVersion 28
buildToolsVersion "28.0.3"
compileSdkVersion 29
buildToolsVersion "29.0.3"
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment