-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleanup in publish script and gradle properties file
- Loading branch information
Showing
2 changed files
with
10 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
# We manually run assemble & dokka before uploadArchives. If we only run uploadArchives, | ||
# We manually run assemble & dokka before publishAllPublicationsToMavenCentral. If we only | ||
# run publishAllPublicationsToMavenCentral, | ||
# the assemble and dokka tasks are run interleaved on each module, which can cause | ||
# connection timeouts to Sonatype (since we need to wait for assemble+dokka to finish). | ||
# By front-loading the assemble+dokka tasks, the upload is much quicker. | ||
./gradlew assembleRelease dokkaHtml publish closeAndReleaseRepository --no-daemon --no-parallel | ||
|
||
./gradlew assembleRelease dokkaHtml publishAllPublicationsToMavenCentral --no-configuration-cache -PRELEASE_SIGNING_ENABLED=true |