Skip to content

Commit 2cdc6d4

Browse files
committed
Merge master
2 parents 1bf56af + 94f8df2 commit 2cdc6d4

File tree

12 files changed

+53
-53
lines changed

12 files changed

+53
-53
lines changed

.github/actions/maven-publish/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ runs:
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 }}

.github/workflows/build-and-test.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/gradle-wrapper-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ jobs:
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

.github/workflows/rl-secure.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/semgrep.yml

Whitespace-only changes.

.github/workflows/snyk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ jobs:
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 }}

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.5.0
1+
4.5.1

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

5757
or 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

build.gradle

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
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

35
allprojects {
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+
}

0 commit comments

Comments
 (0)