From ec6b8098e32a9109de0a4428fd2ec2a979589d03 Mon Sep 17 00:00:00 2001 From: Marcos Rodriguez Velez Date: Thu, 18 Jul 2024 12:50:02 -0400 Subject: [PATCH] Update build.gradle --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 4461d0663..a120f7a13 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -71,7 +71,7 @@ subprojects { } // Check if the project name is 'rn-ldk' before applying the Kotlin compile options - if (project.name == 'rn-ldk') { + if (project.name == 'rn-ldk' || package.name == '@lodev09/react-native-true-sheet') { tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) { if (project.plugins.hasPlugin("com.android.application") || project.plugins.hasPlugin("com.android.library")) { kotlinOptions.jvmTarget = android.compileOptions.sourceCompatibility