Skip to content

Commit abdd85b

Browse files
committed
fix: add react/<variant name> to res in brownfield Gradle plugin
1 parent 36f99b1 commit abdd85b

File tree

1 file changed

+1
-1
lines changed
  • gradle-plugins/react/brownfield/src/main/kotlin/com/callstack/react/brownfield/plugin

1 file changed

+1
-1
lines changed

gradle-plugins/react/brownfield/src/main/kotlin/com/callstack/react/brownfield/plugin/RNSourceSets.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ object RNSourceSets {
5252
// outputs for RN <= 0.81
5353
"createBundle${capitalizedVariantName}JsAndAssets",
5454
// outputs for RN >= 0.82
55-
"react/release",
55+
"react/${variant.name}",
5656
)) {
5757
sourceSet.assets.srcDirs("$appBuildDir/generated/assets/$bundlePathSegment")
5858
sourceSet.res.srcDirs("$appBuildDir/generated/res/$bundlePathSegment")

0 commit comments

Comments
 (0)