As part of the publish process, we indirectly run the androidJavadoc task in https://github.com/facebook/react-native/blob/master/ReactAndroid/release.gradle. This task specifically excludes the ReactBuildConfig class. seemingly because it is dependent on build-time sources (see
|
exclude("**/ReactBuildConfig.java") |
). It does not seem like the gradle task ensures these sources are built.
e41ee42 added an import ReactBuildConfig which causes the task to fail with the following error:
error: cannot find symbol
symbol: variable ReactBuildConfig
location: class ReactEditText
1 error
100 warnings
This blocks the ability to publish a new npm package.
A quick fix is to also exclude ReactEditText from Javadoc generation, but we should ideally fixup the task to import the build-time class to avoid usages of the class breaking doc generation.
As part of the publish process, we indirectly run the
androidJavadoctask in https://github.com/facebook/react-native/blob/master/ReactAndroid/release.gradle. This task specifically excludes theReactBuildConfigclass. seemingly because it is dependent on build-time sources (seereact-native/ReactAndroid/release.gradle
Line 81 in 3a0ed2e
e41ee42 added an import
ReactBuildConfigwhich causes the task to fail with the following error:This blocks the ability to publish a new npm package.
A quick fix is to also exclude ReactEditText from Javadoc generation, but we should ideally fixup the task to import the build-time class to avoid usages of the class breaking doc generation.