File tree Expand file tree Collapse file tree 12 files changed +53
-53
lines changed
Expand file tree Collapse file tree 12 files changed +53
-53
lines changed Original file line number Diff line number Diff line change 3333 env :
3434 JAVA_HOME : ${{ env.JAVA_HOME }}
3535
36- - name : Publish Android/ Java Packages to Maven
36+ - name : Publish Java Packages to Maven
3737 shell : bash
38- run : ./gradlew publish -PisSnapshot=false --stacktrace
38+ run : ./gradlew publishToSonatype closeSonatypeStagingRepository -PisSnapshot=false --stacktrace
3939 env :
4040 JAVA_HOME : ${{ env.JAVA_HOME }}
4141 MAVEN_USERNAME : ${{ inputs.ossr-username }}
Original file line number Diff line number Diff line change @@ -15,13 +15,17 @@ jobs:
1515 with :
1616 distribution : temurin
1717 java-version : 11
18- - uses : gradle/gradle-build-action@a4cf152f482c7ca97ef56ead29bf08bcd953284c
19- with :
20- arguments : assemble apiDiff check jacocoTestReport --continue --console=plain
21- - uses : codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d
18+
19+ - name : Set up Gradle
20+ uses : gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2
21+
22+ - name : Test and Assemble and ApiDiff with Gradle
23+ run : ./gradlew assemble apiDiff check jacocoTestReport --continue --console=plain
24+
25+ - uses : codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de
2226 with :
2327 flags : unittests
24- - uses : actions/upload-artifact@v6
28+ - uses : actions/upload-artifact@v7
2529 with :
2630 name : Reports
2731 path : lib/build/reports
Original file line number Diff line number Diff line change 77 runs-on : ubuntu-latest
88 steps :
99 - uses : actions/checkout@v6
10- - uses : gradle/wrapper-validation-action@8d49e559aae34d3e0eb16cde532684bc9702762b # pin@v1 .0.6
10+ - uses : gradle/actions/ wrapper-validation@0723195856401067f7a2779048b490ace7a47d7c # pin@v5 .0.2
Original file line number Diff line number Diff line change @@ -42,10 +42,11 @@ jobs:
4242 distribution : temurin
4343 java-version : ${{ inputs.java-version }}
4444
45- - name : Build with Gradle
46- uses : gradle/gradle-build-action@a4cf152f482c7ca97ef56ead29bf08bcd953284c
47- with :
48- arguments : assemble apiDiff check jacocoTestReport --continue --console=plain
45+ - name : Set up Gradle
46+ uses : gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2
47+
48+ - name : Test and Assemble and ApiDiff with Gradle
49+ run : ./gradlew assemble apiDiff check jacocoTestReport --continue --console=plain
4950
5051 - name : Get Artifact Version
5152 id : get_version
Original file line number Diff line number Diff line change 3434 with :
3535 ref : ${{ github.event.pull_request.head.sha || github.ref }}
3636
37- - uses : snyk/actions/gradle-jdk11@b98d498629f1c368650224d6d212bf7dfa89e4bf # pin@0.4 .0
37+ - uses : snyk/actions/gradle-jdk11@9adf32b1121593767fc3c057af55b55db032dc04 # pin@1.0 .0
3838 env :
3939 SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
Original file line number Diff line number Diff line change 1- 4.5.0
1+ 4.5.1
Original file line number Diff line number Diff line change 11# Change Log
22
3+ ## [ 4.5.1] ( https://github.com/auth0/java-jwt/tree/4.5.1 ) (2026-02-10)
4+ [ Full Changelog] ( https://github.com/auth0/java-jwt/compare/4.5.0...4.5.1 )
5+
6+ ** Added**
7+ - Update jackson dependency [ \# 732] ( https://github.com/auth0/java-jwt/pull/732 ) ([ tanya732] ( https://github.com/tanya732 ) )
8+
39## [ 4.5.0] ( https://github.com/auth0/java-jwt/tree/4.5.0 ) (2025-01-29)
410[ Full Changelog] ( https://github.com/auth0/java-jwt/compare/4.4.0...4.5.0 )
511
Original file line number Diff line number Diff line change @@ -50,14 +50,14 @@ Add the dependency via Maven:
5050<dependency >
5151 <groupId >com.auth0</groupId >
5252 <artifactId >java-jwt</artifactId >
53- <version >4.5.0 </version >
53+ <version >4.5.1 </version >
5454</dependency >
5555```
5656
5757or Gradle:
5858
5959``` gradle
60- implementation 'com.auth0:java-jwt:4.5.0 '
60+ implementation 'com.auth0:java-jwt:4.5.1 '
6161```
6262
6363### Create a JWT
Original file line number Diff line number Diff line change 1- // Top-level build file where you can add configuration options common to all sub-projects/modules.
1+ plugins {
2+ id ' io.github.gradle-nexus.publish-plugin' version ' 1.3.0'
3+ }
24
35allprojects {
46 group = ' com.auth0'
@@ -7,3 +9,14 @@ allprojects {
79 mavenCentral()
810 }
911}
12+
13+ nexusPublishing {
14+ repositories {
15+ sonatype {
16+ nexusUrl = uri(' https://ossrh-staging-api.central.sonatype.com/service/local/' )
17+ snapshotRepositoryUrl = uri(' https://central.sonatype.com/repository/maven-snapshots/' )
18+ username = System . getenv(" MAVEN_USERNAME" )
19+ password = System . getenv(" MAVEN_PASSWORD" )
20+ }
21+ }
22+ }
You can’t perform that action at this time.
0 commit comments