mirror of
https://github.com/JakeWharton/mosaic.git
synced 2025-10-30 02:06:19 +08:00
Publish to Sonatype Central Portal (#883)
This commit is contained in:
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
@ -342,8 +342,8 @@ jobs:
|
||||
|
||||
- run: ./gradlew publish
|
||||
env:
|
||||
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
|
||||
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
|
||||
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_CENTRAL_USERNAME }}
|
||||
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_CENTRAL_PASSWORD }}
|
||||
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
|
||||
- uses: actions/download-artifact@v4
|
||||
|
||||
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@ -31,8 +31,8 @@ jobs:
|
||||
|
||||
- run: ./gradlew publish
|
||||
env:
|
||||
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
|
||||
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
|
||||
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_CENTRAL_USERNAME }}
|
||||
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_CENTRAL_PASSWORD }}
|
||||
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
|
||||
- name: Extract release notes
|
||||
|
||||
@ -9,6 +9,7 @@ Changed:
|
||||
For terminal size, a platform-specific fallback exists which will attempt to still correctly report the size, but asynchronously.
|
||||
- Terminal theme is now always queried for an initial value regardless of whether the terminal supports sending theme changes.
|
||||
- Java 11 is now the minimum-supported JVM version.
|
||||
- In-development snapshots of Mosaic are now published to the Central Portal Snapshots repository at https://central.sonatype.com/repository/maven-snapshots/.
|
||||
|
||||
Fixed:
|
||||
- Windows now reports the terminal size correctly. Previously it reported the buffer size instead of the window size.
|
||||
|
||||
@ -72,14 +72,14 @@ dependencies {
|
||||
Documentation is available at [jakewharton.github.io/mosaic/docs/0.x/](https://jakewharton.github.io/mosaic/docs/0.x/).
|
||||
|
||||
<details>
|
||||
<summary>Snapshots of the development version are available in Sonatype's snapshots repository.</summary>
|
||||
<summary>Snapshots of the development version are available in the Central Portal Snapshots repository.</summary>
|
||||
<p>
|
||||
|
||||
```groovy
|
||||
repository {
|
||||
mavenCentral()
|
||||
maven {
|
||||
url 'https://oss.sonatype.org/content/repositories/snapshots/'
|
||||
url 'https://central.sonatype.com/repository/maven-snapshots/'
|
||||
}
|
||||
}
|
||||
dependencies {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
GROUP=com.jakewharton.mosaic
|
||||
VERSION_NAME=0.18.0-SNAPSHOT
|
||||
|
||||
SONATYPE_HOST=DEFAULT
|
||||
SONATYPE_HOST=CENTRAL_PORTAL
|
||||
SONATYPE_AUTOMATIC_RELEASE=true
|
||||
RELEASE_SIGNING_ENABLED=true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user