Update build.gradle

This commit is contained in:
Marcos Rodriguez Velez 2024-07-18 12:50:02 -04:00
parent 84204b160a
commit ec6b8098e3
No known key found for this signature in database
GPG Key ID: 6030B2F48CCE86D7

View File

@ -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