[Refactor]: Replace enableAndroidTest with androidTest.enable (#1274)

This is because enableAndroidTest is deprecated.

Fixes #1272
pull/1691/head
sanao 2 weeks ago committed by GitHub
parent 55dbe61c65
commit ab87857c9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -30,6 +30,6 @@ import org.gradle.api.Project
internal fun LibraryAndroidComponentsExtension.disableUnnecessaryAndroidTests(
project: Project,
) = beforeVariants {
it.enableAndroidTest = it.enableAndroidTest
it.androidTest.enable = it.androidTest.enable
&& project.projectDir.resolve("src/androidTest").exists()
}

Loading…
Cancel
Save