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 { ...@@ -171,7 +171,7 @@ android {
minifyEnabled enableProguardInReleaseBuilds minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
// Detox-specific additions to pro-guard, uncomment following line if pro-guard is enabled. // 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 { splits {
......
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
buildscript { buildscript {
ext { ext {
buildToolsVersion = "28.0.3" buildToolsVersion = "29.0.3"
minSdkVersion = 18 minSdkVersion = 18
compileSdkVersion = 28 compileSdkVersion = 29
targetSdkVersion = 28 targetSdkVersion = 29
kotlinVersion = '1.3.41' kotlinVersion = '1.3.41'
} }
repositories { repositories {
...@@ -46,15 +46,15 @@ subprojects { ...@@ -46,15 +46,15 @@ subprojects {
resolutionStrategy.eachDependency { details -> resolutionStrategy.eachDependency { details ->
if (details.requested.group == 'com.android.support' if (details.requested.group == 'com.android.support'
&& !details.requested.name.contains('multidex') ) { && !details.requested.name.contains('multidex') ) {
details.useVersion "28.0.3" details.useVersion "29.0.3"
} }
} }
} }
afterEvaluate {project -> afterEvaluate {project ->
if (project.hasProperty("android")) { if (project.hasProperty("android")) {
android { android {
compileSdkVersion 28 compileSdkVersion 29
buildToolsVersion "28.0.3" 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