diff --git a/README.md b/README.md index 8988152e..3caf8c8a 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ This repository only contains the source code for the module. ### Set up the prerequisites -1. Download and install Java SE Development Kit (JDK) version 17 (from one of the following locations). +1. Download and install Java SE Development Kit (JDK) version 21 (from one of the following locations). * [Oracle](https://www.oracle.com/java/technologies/downloads/) diff --git a/ballerina/Ballerina.toml b/ballerina/Ballerina.toml index 4eed5bee..b9474241 100644 --- a/ballerina/Ballerina.toml +++ b/ballerina/Ballerina.toml @@ -1,19 +1,19 @@ [package] org = "ballerina" name = "jwt" -version = "2.13.0" +version = "2.13.1" authors = ["Ballerina"] keywords = ["security", "authentication", "jwt", "jwk", "jws"] repository = "https://github.com/ballerina-platform/module-ballerina-jwt" icon = "icon.png" license = ["Apache-2.0"] -distribution = "2201.10.0" +distribution = "2201.10.0-20241007-143200-6b69ca80" -[platform.java17] +[platform.java21] graalvmCompatible = true -[[platform.java17.dependency]] +[[platform.java21.dependency]] groupId = "io.ballerina.stdlib" artifactId = "jwt-native" -version = "2.13.0" -path = "../native/build/libs/jwt-native-2.13.0.jar" +version = "2.13.1" +path = "../native/build/libs/jwt-native-2.13.1-SNAPSHOT.jar" diff --git a/ballerina/Dependencies.toml b/ballerina/Dependencies.toml index fec282f0..a32456cc 100644 --- a/ballerina/Dependencies.toml +++ b/ballerina/Dependencies.toml @@ -5,12 +5,12 @@ [ballerina] dependencies-toml-version = "2" -distribution-version = "2201.10.0" +distribution-version = "2201.11.0-20241112-214900-6b80ab87" [[package]] org = "ballerina" name = "cache" -version = "3.8.0" +version = "3.8.1" dependencies = [ {org = "ballerina", name = "constraint"}, {org = "ballerina", name = "jballerina.java"}, @@ -24,7 +24,7 @@ modules = [ [[package]] org = "ballerina" name = "constraint" -version = "1.5.0" +version = "1.6.0" dependencies = [ {org = "ballerina", name = "jballerina.java"} ] @@ -32,7 +32,7 @@ dependencies = [ [[package]] org = "ballerina" name = "crypto" -version = "2.7.2" +version = "2.7.3" dependencies = [ {org = "ballerina", name = "jballerina.java"}, {org = "ballerina", name = "time"} @@ -44,7 +44,7 @@ modules = [ [[package]] org = "ballerina" name = "io" -version = "1.6.0" +version = "1.6.2" dependencies = [ {org = "ballerina", name = "jballerina.java"}, {org = "ballerina", name = "lang.value"} @@ -64,7 +64,7 @@ modules = [ [[package]] org = "ballerina" name = "jwt" -version = "2.13.0" +version = "2.13.1" dependencies = [ {org = "ballerina", name = "cache"}, {org = "ballerina", name = "crypto"}, @@ -157,7 +157,7 @@ dependencies = [ [[package]] org = "ballerina" name = "log" -version = "2.10.0" +version = "2.10.1" dependencies = [ {org = "ballerina", name = "io"}, {org = "ballerina", name = "jballerina.java"}, @@ -171,7 +171,7 @@ modules = [ [[package]] org = "ballerina" name = "observe" -version = "1.3.0" +version = "1.4.0" dependencies = [ {org = "ballerina", name = "jballerina.java"} ] @@ -179,7 +179,7 @@ dependencies = [ [[package]] org = "ballerina" name = "task" -version = "2.5.0" +version = "2.5.1" dependencies = [ {org = "ballerina", name = "jballerina.java"}, {org = "ballerina", name = "time"} @@ -202,7 +202,7 @@ modules = [ [[package]] org = "ballerina" name = "time" -version = "2.4.0" +version = "2.6.0" dependencies = [ {org = "ballerina", name = "jballerina.java"} ] diff --git a/build-config/resources/Ballerina.toml b/build-config/resources/Ballerina.toml index 36c20624..0e85e9e1 100644 --- a/build-config/resources/Ballerina.toml +++ b/build-config/resources/Ballerina.toml @@ -7,12 +7,12 @@ keywords = ["security", "authentication", "jwt", "jwk", "jws"] repository = "https://github.com/ballerina-platform/module-ballerina-jwt" icon = "icon.png" license = ["Apache-2.0"] -distribution = "2201.10.0" +distribution = "2201.10.0-20241007-143200-6b69ca80" -[platform.java17] +[platform.java21] graalvmCompatible = true -[[platform.java17.dependency]] +[[platform.java21.dependency]] groupId = "io.ballerina.stdlib" artifactId = "jwt-native" version = "@toml.version@" diff --git a/build.gradle b/build.gradle index 27a6f224..e0b024ee 100644 --- a/build.gradle +++ b/build.gradle @@ -17,10 +17,10 @@ */ plugins { - id "com.github.spotbugs" version "5.0.14" - id "com.github.johnrengelman.shadow" version "8.1.1" - id "de.undercouch.download" version "5.4.0" - id "net.researchgate.release" version "2.8.0" + id "com.github.spotbugs" version "${githubSpotbugsVersion}" + id "com.github.johnrengelman.shadow" version "${githubJohnrengelmanShadowVersion}" + id "de.undercouch.download" version "${underCouchDownloadVersion}" + id "net.researchgate.release" version "${researchgateReleaseVersion}" } ext.puppycrawlCheckstyleVersion = project.puppycrawlCheckstyleVersion diff --git a/gradle.properties b/gradle.properties index 62952050..36ee2bb1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,15 +3,19 @@ group=io.ballerina.stdlib version=2.13.1-SNAPSHOT puppycrawlCheckstyleVersion=10.12.0 ballerinaGradlePluginVersion=2.0.1 +githubJohnrengelmanShadowVersion=8.1.1 +underCouchDownloadVersion=5.4.0 +researchgateReleaseVersion=2.8.0 +githubSpotbugsVersion=6.0.18 -ballerinaLangVersion=2201.10.0 -stdlibCacheVersion=3.8.0 -stdlibCryptoVersion=2.7.2 -stdlibLogVersion=2.10.0 -stdlibTimeVersion=2.4.0 +ballerinaLangVersion=2201.11.0-20241112-214900-6b80ab87 +stdlibCacheVersion=3.8.1-20241113-125700-b75a1bf +stdlibCryptoVersion=2.7.3-20241113-081400-d015a39 +stdlibLogVersion=2.10.1-20241113-120000-4577868 +stdlibTimeVersion=2.6.0-20241113-073800-201b904 # Transitive dependencies -stdlibTaskVersion=2.5.0 -stdlibConstraintVersion=1.5.0 -stdlibIoVersion=1.6.0 -observeVersion=1.3.0 -observeInternalVersion=1.3.0 +stdlibTaskVersion=2.5.1-20241113-123500-f905281 +stdlibConstraintVersion=1.6.0-20241113-090900-d276ad5 +stdlibIoVersion=1.6.2-20241112-233100-995cf5f +observeVersion=1.4.0-20241113-092000-b83ae74 +observeInternalVersion=1.3.1-20241113-101700-265054d diff --git a/native/build.gradle b/native/build.gradle index 38fce06c..fc4c8574 100644 --- a/native/build.gradle +++ b/native/build.gradle @@ -40,8 +40,11 @@ checkstyle { checkstyleMain.dependsOn(":checkstyle:downloadCheckstyleRuleFiles") spotbugsMain { - effort "max" - reportLevel "low" + def classLoader = plugins["com.github.spotbugs"].class.classLoader + def SpotBugsConfidence = classLoader.findLoadedClass("com.github.spotbugs.snom.Confidence") + def SpotBugsEffort = classLoader.findLoadedClass("com.github.spotbugs.snom.Effort") + effort = SpotBugsEffort.MAX + reportLevel = SpotBugsConfidence.LOW reportsDir = file("$project.buildDir/reports/spotbugs") reports { html.enabled true