Skip to content

Commit

Permalink
Fix android test targetSdk (#8158)
Browse files Browse the repository at this point in the history
  • Loading branch information
yschimke authored Dec 24, 2023
1 parent 8f0fd16 commit a696d4d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion android-test/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
val androidBuild = property("androidBuild").toString().toBoolean()

android {
compileSdk = 33
compileSdk = 34

namespace = "okhttp.android.test"

Expand Down Expand Up @@ -38,6 +38,10 @@ android {
sourceCompatibility(JavaVersion.VERSION_11)
}

testOptions {
targetSdk = 34
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
}
Expand Down
4 changes: 3 additions & 1 deletion okhttp-android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugins {
}

android {
compileSdk = 33
compileSdk = 34

namespace = "okhttp.android"

Expand All @@ -30,6 +30,8 @@ android {
unitTests {
isIncludeAndroidResources = true
}

targetSdk = 34
}
}

Expand Down

0 comments on commit a696d4d

Please sign in to comment.