Commit 7e7bf72
authored
Fix cppruntime duplicated package name causes build error (#97)
Summary:
Gradle will have a build error during generating APK if user depends
both android-jsc and android-jsc-cppruntime.
```
> Task :app:transformDexArchiveWithExternalLibsDexMergerForDebug FAILED
D8: Program type already present: org.webkit.androidjsc.BuildConfig
```
The reason is that gradle will generate BuildConfig from each libraries and
there are two duplicated org.webkit.androidjsc.BuildConfig.
Test Plan:
Pure RN 0.57 + JSC from this repo (build locally or from CircleCI).
To test if gradle could generate APK successfully.1 parent d4f4f90 commit 7e7bf72
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
0 commit comments