From 2e46e453c83035d201a90cc05cfd2a7aa0922fa7 Mon Sep 17 00:00:00 2001 From: LoveSy Date: Sat, 9 Dec 2023 21:31:51 +0800 Subject: [PATCH] Add targetSdk for unittest --- library/build.gradle.kts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/build.gradle.kts b/library/build.gradle.kts index d8e0665..6f051f6 100644 --- a/library/build.gradle.kts +++ b/library/build.gradle.kts @@ -21,6 +21,9 @@ android { minSdk = 1 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } + testOptions { + targetSdk = 34 + } buildTypes { release { consumerProguardFiles("consumer-rules.pro")