Skip to content

Commit

Permalink
chore: make it work on expo
Browse files Browse the repository at this point in the history
  • Loading branch information
niranjannitesh committed Feb 22, 2023
1 parent 440aa63 commit afc775c
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,16 @@ if (isNewArchitectureEnabled()) {
}


tasks.whenTaskAdded { task ->
if (task.name.contains("configureCMakeDebug")) {
rootProject.getTasksByName("packageReactNdkDebugLibs", true).forEach {
task.dependsOn(it)
}
}
// We want to add a dependency for both configureCMakeRelease and configureCMakeRelWithDebInfo
if (task.name.contains("configureCMakeRel")) {
rootProject.getTasksByName("packageReactNdkReleaseLibs", true).forEach {
task.dependsOn(it)
}
}
}
// tasks.whenTaskAdded { task ->
// if (task.name.contains("configureCMakeDebug")) {
// rootProject.getTasksByName("packageReactNdkDebugLibs", true).forEach {
// task.dependsOn(it)
// }
// }
// // We want to add a dependency for both configureCMakeRelease and configureCMakeRelWithDebInfo
// if (task.name.contains("configureCMakeRel")) {
// rootProject.getTasksByName("packageReactNdkReleaseLibs", true).forEach {
// task.dependsOn(it)
// }
// }
// }

0 comments on commit afc775c

Please sign in to comment.