From 7b989e0b3662a0fcb396fb31661cde92dc9407eb Mon Sep 17 00:00:00 2001 From: C4tWithShell Date: Fri, 16 Feb 2024 00:37:29 +0300 Subject: [PATCH] Add deps --- build.gradle | 3 +++ .../github/v3/RestApplicationAuthenticationProvider.java | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index cce1caf..cfe7cf2 100644 --- a/build.gradle +++ b/build.gradle @@ -76,6 +76,9 @@ dependencies { testImplementation('org.junit.jupiter:junit-jupiter') testImplementation('junit:junit:4.13.2') testRuntimeOnly('org.junit.vintage:junit-vintage-engine') + implementation 'io.jsonwebtoken:jjwt-api:0.12.5' + runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.5' + runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.5' } diff --git a/src/main/java/com/github/mc1arke/sonarqube/plugin/almclient/github/v3/RestApplicationAuthenticationProvider.java b/src/main/java/com/github/mc1arke/sonarqube/plugin/almclient/github/v3/RestApplicationAuthenticationProvider.java index 04c00ee..7d7875c 100644 --- a/src/main/java/com/github/mc1arke/sonarqube/plugin/almclient/github/v3/RestApplicationAuthenticationProvider.java +++ b/src/main/java/com/github/mc1arke/sonarqube/plugin/almclient/github/v3/RestApplicationAuthenticationProvider.java @@ -29,7 +29,6 @@ import com.github.mc1arke.sonarqube.plugin.almclient.github.v3.model.InstallationRepositories; import com.github.mc1arke.sonarqube.plugin.almclient.github.v3.model.Repository; import io.jsonwebtoken.SignatureAlgorithm; -import io.jsonwebtoken.JwtBuilder; import io.jsonwebtoken.Jwts; import org.bouncycastle.openssl.PEMKeyPair; import org.bouncycastle.openssl.PEMParser;