diff --git a/README.md b/README.md index 3da43f7..05adc9c 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,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 d1a0792..cbf8ccb 100644 --- a/ballerina/Ballerina.toml +++ b/ballerina/Ballerina.toml @@ -9,10 +9,10 @@ icon = "icon.png" license = ["Apache-2.0"] distribution = "2201.8.0" -[platform.java17] +[platform.java21] graalvmCompatible = true -[[platform.java17.dependency]] +[[platform.java21.dependency]] path = "../test-utils/build/libs/jballerina.java.arrays-test-utils-1.4.0.jar" version = "1.4.0" scope = "testOnly" diff --git a/build-config/resources/Ballerina.toml b/build-config/resources/Ballerina.toml index c763ae4..46c9750 100644 --- a/build-config/resources/Ballerina.toml +++ b/build-config/resources/Ballerina.toml @@ -9,10 +9,10 @@ icon = "icon.png" license = ["Apache-2.0"] distribution = "2201.8.0" -[platform.java17] +[platform.java21] graalvmCompatible = true -[[platform.java17.dependency]] +[[platform.java21.dependency]] path = "../test-utils/build/libs/jballerina.java.arrays-test-utils-@project.version@.jar" version = "@project.version@" scope = "testOnly" diff --git a/gradle.properties b/gradle.properties index 028a43b..2a2b0c9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,8 +1,8 @@ org.gradle.caching=true group=io.ballerina.stdlib version=1.4.1-SNAPSHOT -ballerinaLangVersion=2201.8.0 -githubSpotbugsVersion=5.0.14 +ballerinaLangVersion=2201.11.0-20241117-133400-a3054b77 +githubSpotbugsVersion=6.0.18 githubJohnrengelmanShadowVersion=8.1.1 underCouchDownloadVersion=5.4.0 researchgateReleaseVersion=2.8.0 diff --git a/test-utils/build.gradle b/test-utils/build.gradle index c51c22b..ea76218 100644 --- a/test-utils/build.gradle +++ b/test-utils/build.gradle @@ -39,8 +39,12 @@ checkstyle { checkstyleMain.dependsOn(":checkstyle:downloadMultipleFiles") 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") + ignoreFailures = true + effort = SpotBugsEffort.MAX + reportLevel = SpotBugsConfidence.LOW reportsDir = file("$project.buildDir/reports/spotbugs") reports { html.enabled true