From e6f5cf5072b56eb7fe7cbccadea20a0d5d858139 Mon Sep 17 00:00:00 2001 From: Rafael Date: Sun, 6 Oct 2024 11:38:03 -0300 Subject: [PATCH] remove isAndroidApp check --- lib/build.gradle.kts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/build.gradle.kts b/lib/build.gradle.kts index 6de903e..9d12393 100644 --- a/lib/build.gradle.kts +++ b/lib/build.gradle.kts @@ -73,13 +73,10 @@ afterEvaluate { kotlin { - val isAndroidApp = plugins.hasPlugin("com.android.application") val isAndroidLibrary = plugins.hasPlugin("com.android.library") - if (isAndroidApp || isAndroidLibrary) { + if (isAndroidLibrary) { androidTarget { - if (isAndroidLibrary) { - publishLibraryVariants("release") - } + publishLibraryVariants("release") @OptIn(ExperimentalKotlinGradlePluginApi::class) compilerOptions { jvmTarget.set(JvmTarget.JVM_1_8)