Skip to content

Commit f23d231

Browse files
Update license name, add info and stacktrace to publish command.
1 parent b006075 commit f23d231

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/gradle-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Publish package
2424
uses: gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1
2525
with:
26-
arguments: -Pversion=${{ env.PUBLISH_VERSION }} publishToSonatype closeAndReleaseSonatypeStagingRepository
26+
arguments: -Pversion=${{ env.PUBLISH_VERSION }} --info --stacktrace publishToSonatype closeAndReleaseSonatypeStagingRepository
2727
env:
2828
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
2929
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ publishing {
8282
url.set(projectUrl)
8383
licenses {
8484
license {
85-
name.set("Apache 2.0")
85+
name.set("The Apache License, Version 2.0'")
8686
url.set("http://www.apache.org/licenses/LICENSE-2.0")
8787
}
8888
}

0 commit comments

Comments
 (0)