Skip to content

Commit

Permalink
fix: use variantAssets var instead of hardcode path
Browse files Browse the repository at this point in the history
  • Loading branch information
wzieba committed Mar 19, 2024
1 parent 6ea143c commit 60b2571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WordPress/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ android {
}

tasks.register("copy${variant.name.capitalize()}ReactNativeBundleSourceMap", Copy) {
from("${buildDir}/intermediates/assets/${variant.name}")
from(variantAssets)
into("${buildDir}/react-native-bundle-source-map")
include("*.bundle", "*.bundle.map")
finalizedBy("delete${variant.name.capitalize()}ReactNativeBundleSourceMap")
Expand Down

0 comments on commit 60b2571

Please sign in to comment.