Skip to content

Commit 44d43fe

Browse files
authored
fix: gradle plugin React Native resource linking
fix: gradle plugin React Native resource linking
2 parents 36f99b1 + f86043a commit 44d43fe

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

gradle-plugins/react/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ buildscript {
2020
classpath("com.android.tools.build:gradle")
2121
classpath("com.facebook.react:react-native-gradle-plugin")
2222
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
23-
+ classpath("com.callstack.react:brownfield-gradle-plugin:0.6.0")
23+
+ classpath("com.callstack.react:brownfield-gradle-plugin:0.6.3")
2424
}
2525
}
2626
```
@@ -59,7 +59,7 @@ buildscript {
5959
classpath("com.android.tools.build:gradle")
6060
classpath("com.facebook.react:react-native-gradle-plugin")
6161
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
62-
+ classpath("com.callstack.react:brownfield-gradle-plugin:0.6.0")
62+
+ classpath("com.callstack.react:brownfield-gradle-plugin:0.6.3")
6363
}
6464
}
6565
```

gradle-plugins/react/brownfield/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PROJECT_ID=com.callstack.react.brownfield
22
ARTIFACT_ID=brownfield-gradle-plugin
3-
VERSION=0.6.2
3+
VERSION=0.6.3
44
GROUP=com.callstack.react
55
IMPLEMENTATION_CLASS=com.callstack.react.brownfield.plugin.RNBrownfieldPlugin
66

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)