Skip to content

Commit aa568c6

Browse files
committed
fix: android codegen for other external packages
1 parent dca01db commit aa568c6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

android/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,14 @@ def reactNativeArchitectures() {
2323
apply plugin: "com.android.library"
2424
apply plugin: "kotlin-android"
2525
apply from: '../nitrogen/generated/android/rive+autolinking.gradle'
26-
2726
apply plugin: "com.facebook.react"
2827

28+
react {
29+
jsRootDir = file("../src/")
30+
libraryName = "rive"
31+
codegenJavaPackageName = "com.rive"
32+
}
33+
2934
def getExtOrIntegerDefault(name) {
3035
return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties["Rive_" + name]).toInteger()
3136
}

0 commit comments

Comments
 (0)