diff --git a/.ado/npmOfficePack.js b/.ado/npmOfficePack.js index 7f383ce3c7afd4..b1d549ed9ba0bb 100644 --- a/.ado/npmOfficePack.js +++ b/.ado/npmOfficePack.js @@ -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