From 9ce366122e9602c4b3f0d3f1c6c3291cc0b1eb16 Mon Sep 17 00:00:00 2001 From: Armin Date: Wed, 28 Feb 2024 13:13:54 +0100 Subject: [PATCH] Cleanup --- src/main/groovy/de.cyface.android-publish.gradle | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/main/groovy/de.cyface.android-publish.gradle b/src/main/groovy/de.cyface.android-publish.gradle index 3821e44..50ad7f9 100644 --- a/src/main/groovy/de.cyface.android-publish.gradle +++ b/src/main/groovy/de.cyface.android-publish.gradle @@ -45,15 +45,9 @@ plugins { * @param variant The variant from `android.libraryVariants` * @return `true` if this variant can be skipped in release */ -def isDebugOrMock(variant) { +static def isDebugOrMock(variant) { def isDebug = variant.buildType.name == 'debug' def isMock = variant.flavorName?.contains('Mock') - def is = isDebug || isMock - if (!is) { - println "#131 OK start" - println variant.name - println "#131 OK end" - } return isDebug || isMock }