Skip to content

Commit

Permalink
Fix publishing issues (Sonatype URL and no longer needed symbolic lin…
Browse files Browse the repository at this point in the history
…k for KDoc)
  • Loading branch information
floscher committed Jan 28, 2022
1 parent daa79e9 commit b283df6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ publish to / pages branch:
./gradlew publishAllPublicationsToBuildDirRepository dokkaHtmlMultimodule
mv build/maven/ public/maven/
mv build/docs/kdoc/ "public/kdoc/$version/"
ln -s "./-modules.html" "public/kdoc/$version/index.html"
- |
cd public/
git rm --ignore-unmatch kdoc/current kdoc/latest
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/SetupPublishing.kt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public fun Project.setupOssSonatypeStagingPublishing() {
providers.environmentVariable("SONATYPE_PASSWORD").forUseAtConfigurationTime().orNull?.let { sonatypePassword ->
maven {
it.name = "OssSonatypeStaging"
it.url = uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/")
it.url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
it.credentials {
it.username = sonatypeUsername
it.password = sonatypePassword
Expand Down

0 comments on commit b283df6

Please sign in to comment.