We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2ecb58 commit d18a866Copy full SHA for d18a866
packages/create-react-native-library/templates/native-common/android/build.gradle
@@ -126,3 +126,11 @@ dependencies {
126
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
127
<% } -%>
128
}
129
+
130
+if (isNewArchitectureEnabled()) {
131
+ react {
132
+ jsRootDir = file("../src/")
133
+ libraryName = "<%- project.view ? project.name + 'View' : project.name -%>"
134
+ codegenJavaPackageName = "com.<%- project.package -%>"
135
+ }
136
+}
0 commit comments