aboutsummaryrefslogtreecommitdiffstats
path: root/build-logic/android-plugins/src/main/kotlin/flavors
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-02-04 19:29:36 +0530
committerGitHub <noreply@github.com>2022-02-04 13:59:36 +0000
commit2b293e58056ea897c305bd39e21b42f5cd4d1a62 (patch)
treeadde6c48d9f78d2aa70fe8867057cefe7bda27cd /build-logic/android-plugins/src/main/kotlin/flavors
parentce75d0e49b68e28aedd19293515d2a8fa56e2180 (diff)
downloadHardenedPass-2b293e58056ea897c305bd39e21b42f5cd4d1a62.tar.gz
HardenedPass-2b293e58056ea897c305bd39e21b42f5cd4d1a62.zip
Port build to Gradle 7.4-rc-2 (#1707)
Diffstat (limited to 'build-logic/android-plugins/src/main/kotlin/flavors')
-rw-r--r--build-logic/android-plugins/src/main/kotlin/flavors/SlimTests.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-logic/android-plugins/src/main/kotlin/flavors/SlimTests.kt b/build-logic/android-plugins/src/main/kotlin/flavors/SlimTests.kt
index ae14fdab..2b0cb8eb 100644
--- a/build-logic/android-plugins/src/main/kotlin/flavors/SlimTests.kt
+++ b/build-logic/android-plugins/src/main/kotlin/flavors/SlimTests.kt
@@ -20,7 +20,7 @@ import org.gradle.language.nativeplatform.internal.BuildType
* variants in Android App and Library projects, and all tests in JVM projects.
*/
internal fun Project.configureSlimTests() {
- if (providers.gradleProperty(SLIM_TESTS_PROPERTY).forUseAtConfigurationTime().isPresent) {
+ if (providers.gradleProperty(SLIM_TESTS_PROPERTY).isPresent) {
// disable unit test tasks on the release build type for Android Library projects
extensions.findByType<LibraryAndroidComponentsExtension>()?.run {
beforeVariants(selector().withBuildType(BuildType.RELEASE.name)) {