Skip to content

Commit

Permalink
remove isAndroidApp check
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael2616 committed Oct 6, 2024
1 parent 5bf3ff3 commit e6f5cf5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e6f5cf5

Please sign in to comment.