diff --git a/android/src/main/kotlin/com/project/starter/modules/plugins/AndroidLibraryPlugin.kt b/android/src/main/kotlin/com/project/starter/modules/plugins/AndroidLibraryPlugin.kt index e808ba95..eb414d82 100644 --- a/android/src/main/kotlin/com/project/starter/modules/plugins/AndroidLibraryPlugin.kt +++ b/android/src/main/kotlin/com/project/starter/modules/plugins/AndroidLibraryPlugin.kt @@ -28,6 +28,8 @@ class AndroidLibraryPlugin : Plugin { buildFeatures.buildConfig = false configureAndroidLint(lint) + + testOptions.targetSdk = rootConfig.android.targetSdkVersion ?: rootConfig.android.compileSdkVersion } extensions.getByType().beforeVariants { variantBuilder -> if (variantBuilder.productFlavors.isEmpty()) {