Skip to content

Commit 1f60bf2

Browse files
committed
Replace react block in build.gradle with codegenConfig.android.javaPackageName in build.gradle
1 parent 79f2d77 commit 1f60bf2

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

android/build.gradle

-6
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,6 @@ dependencies {
177177
implementation project(":react-native-reanimated")
178178
}
179179

180-
react {
181-
jsRootDir = file("../src/")
182-
libraryName = "LiveMarkdown"
183-
codegenJavaPackageName = "com.expensify.livemarkdown"
184-
}
185-
186180
// This fixes linking errors due to undefined symbols from libworklets.so.
187181
// During Gradle Sync, Android Gradle Plugin runs Prefab and treats worklets
188182
// like a header-only library. During build, config files are not regenerated

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@
165165
"codegenConfig": {
166166
"name": "RNLiveMarkdownSpec",
167167
"type": "all",
168-
"jsSrcsDir": "src"
168+
"jsSrcsDir": "src",
169+
"android": {
170+
"javaPackageName": "com.expensify.livemarkdown"
171+
}
169172
}
170173
}

0 commit comments

Comments
 (0)