GeezerVison is showing github.com — - adjust for current publish tasks · Candlewhacked/AboutLibraries@6bec381
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/ci.yml +5-3Lines changed: 5 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -112,12 +112,14 @@ jobs: |
112 | 112 | if: startsWith(github.ref, 'refs/tags/') |
113 | 113 | run: | |
114 | 114 | ./gradlew build -x test -x lint |
115 | | - ./gradlew aboutlibraries-core:publishReleasePublicationToSonatypeRepository -Plibrary_core_only --no-configure-on-demand --no-parallel |
116 | | - ./gradlew aboutlibraries:publishReleasePublicationToSonatypeRepository -x test -x lint -Plibrary_only --no-configure-on-demand --no-parallel |
117 | | - ./gradlew aboutlibraries-compose:publishReleasePublicationToSonatypeRepository -x test -x lint -Plibrary_compose_only --no-configure-on-demand --no-parallel |
| 115 | + ./gradlew aboutlibraries-core:publishAllPublicationsToMavenCentralRepository -Plibrary_core_only --no-configure-on-demand --no-parallel |
| 116 | + ./gradlew aboutlibraries:publishAllPublicationsToMavenCentralRepository -x test -x lint -Plibrary_only --no-configure-on-demand --no-parallel |
| 117 | + ./gradlew aboutlibraries-compose:publishAllPublicationsToMavenCentralRepository -x test -x lint -Plibrary_compose_only --no-configure-on-demand --no-parallel |
118 | 118 | env: |
119 | 119 | NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} |
120 | 120 | NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} |
| 121 | + mavenCentralUsername: ${{ secrets.NEXUS_USERNAME }} |
| 122 | + mavenCentralPassword: ${{ secrets.NEXUS_PASSWORD }} |
121 | 123 |
|
122 | 124 | - name: Collect artifacts |
123 | 125 | run: | |
|
Collapse file
Copy file name to clipboardExpand all lines: aboutlibraries/build.gradle +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -72,5 +72,5 @@ dependencies { |
72 | 72 | } |
73 | 73 |
|
74 | 74 | if (project.hasProperty('pushall') || project.hasProperty('library_only')) { |
75 | | - apply from: '../gradle-release.gradle' |
76 | | -} |
| 75 | + apply from: "$rootDir/gradle/gradle-mvn-push.gradle" |
| 76 | +} |
Collapse file
Copy file name to clipboardExpand all lines: build.gradle +6Lines changed: 6 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -76,6 +76,12 @@ allprojects { |
76 | 76 | setUrl("https://maven.pkg.jetbrains.space/public/p/compose/dev") |
77 | 77 | } |
78 | 78 | } |
| 79 | + |
| 80 | + plugins.withId("com.vanniktech.maven.publish") { |
| 81 | + mavenPublish { |
| 82 | + sonatypeHost = "S01" |
| 83 | + } |
| 84 | + } |
79 | 85 | } |
80 | 86 |
|
81 | 87 | subprojects { |
|