diff --git a/fingerprint/build.gradle.kts b/fingerprint/build.gradle.kts index 5cc4706..1b02384 100644 --- a/fingerprint/build.gradle.kts +++ b/fingerprint/build.gradle.kts @@ -35,6 +35,13 @@ android { compileSdk = 34 defaultConfig { + // This property does not affect the library itself, but affects test apk and lint. + // As for now, I don't see any non-deprecated ways of accomplishing this task. + // Discussions: + // https://stackoverflow.com/questions/76084080/apply-targetsdk-in-android-instrumentation-test + // https://issuetracker.google.com/issues/230625468 (looks like lint.targetSdk and testOptions.targetSdk will become available soon) + targetSdk = 33 + minSdk = 21 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles("consumer-rules.pro")