Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
vhqtvn committed Oct 7, 2024
1 parent 5b8efa6 commit 21b9e30
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ci/post-install.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ hack([
hack([
"node_modules/@react-native/gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt",
], (s) => {
s=s.replace(
"val bundleTask =",
"/*val*//*bundleTask/**/=*/"
)
s=s.replace(
"variant.sources.res?.addGeneratedSourceDirectory(bundleTask, BundleHermesCTask::resourcesDir)",
"// variant.sources.res?./*we're embedding so, not-*/addGeneratedSourceDirectory(bundleTask, BundleHermesCTask::resourcesDir)"
)
// s=s.replace(
// "val bundleTask =",
// "/*val*//*bundleTask/**/=*/"
// )
// s=s.replace(
// "variant.sources.res?.addGeneratedSourceDirectory(bundleTask, BundleHermesCTask::resourcesDir)",
// "// variant.sources.res?./*we're embedding so, not-*/addGeneratedSourceDirectory(bundleTask, BundleHermesCTask::resourcesDir)"
// )
s=s.replace(
"variant.sources.assets?.addGeneratedSourceDirectory(bundleTask, BundleHermesCTask::jsBundleDir)",
"// variant.sources.assets?./*we're embedding so, not-*/addGeneratedSourceDirectory(bundleTask, BundleHermesCTask::jsBundleDir)"
Expand Down

0 comments on commit 21b9e30

Please sign in to comment.