Skip to content

Commit

Permalink
Set targetSdk for android tests (#632)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkwiecinski authored May 24, 2024
1 parent 4b35ab8 commit 17b2bc6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ class AndroidLibraryPlugin : Plugin<Project> {
buildFeatures.buildConfig = false

configureAndroidLint(lint)

testOptions.targetSdk = rootConfig.android.targetSdkVersion ?: rootConfig.android.compileSdkVersion
}
extensions.getByType<LibraryAndroidComponentsExtension>().beforeVariants { variantBuilder ->
if (variantBuilder.productFlavors.isEmpty()) {
Expand Down

0 comments on commit 17b2bc6

Please sign in to comment.