Skip to content

Commit

Permalink
Unblock publish pipeline by excluding native libraries in android builds
Browse files Browse the repository at this point in the history
It's fine as Office don't consume android libraries from the npm package.
  • Loading branch information
mganandraj committed Oct 28, 2021
1 parent 0e09744 commit c2289d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ado/npmOfficePack.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function doPublish(fakeMode) {
if (!onlyTagSource) {
// -------- Generating Android Artifacts with JavaDoc
const depsEnvPrefix = "REACT_NATIVE_BOOST_PATH=" + path.join(process.env.BUILD_SOURCESDIRECTORY, "build_deps");
const gradleCommand = path.join(process.env.BUILD_SOURCESDIRECTORY, "gradlew") + " installArchives";
const gradleCommand = path.join(process.env.BUILD_SOURCESDIRECTORY, "gradlew") + " installArchives -Pparam=\"excludeLibs\"";
exec( depsEnvPrefix + " " + gradleCommand );

// undo uncommenting javadoc setting
Expand Down

0 comments on commit c2289d7

Please sign in to comment.