diff --git a/README.md b/README.md index 806df14..9c0e337 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ For information on how to generate Ballerina code for Protocol Buffers definitio ### Set Up the prerequisites -* Download and install Java SE Development Kit (JDK) version 17 (from one of the following locations). +* 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/gradle.properties b/gradle.properties index 15a18e8..7fa464f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,44 +2,44 @@ org.gradle.caching=true group=io.ballerina version=0.3.2-SNAPSHOT #dependency versions -ballerinaLangVersion=2201.9.1 +ballerinaLangVersion=2201.11.0-20241117-133400-a3054b77 checkstylePluginVersion=10.12.1 commonsLang3Version=3.8.1 slf4jVersion=1.7.30 protoGoogleCommonsVersion=1.17.0 protobufJavaVersion=3.23.4 picocliVersion=4.0.1 -githubSpotbugsVersion=5.0.14 +githubSpotbugsVersion=6.0.18 githubJohnrengelmanShadowVersion=8.1.1 underCouchDownloadVersion=5.4.0 researchgateReleaseVersion=2.8.0 testngVersion=7.6.1 jacocoVersion=0.8.10 -stdlibGrpcVersion=1.11.2 -stdlibIoVersion=1.6.1 -stdlibTimeVersion=2.5.0 -stdlibUrlVersion=2.4.0 +stdlibGrpcVersion=1.13.0-20241114-195700-5188f60 +stdlibIoVersion=1.6.2-20241112-233100-995cf5f +stdlibTimeVersion=2.6.0-20241113-073800-201b904 +stdlibUrlVersion=2.4.1-20241113-073900-335ff51 -stdlibConstraintVersion=1.5.0 -stdlibCryptoVersion=2.7.2 -stdlibLogVersion=2.9.0 -stdlibOsVersion=1.8.0 -stdlibProtobufVersion=1.6.1 -stdlibRandomVersion=1.5.0 -stdlibTaskVersion=2.5.0 +stdlibConstraintVersion=1.6.0-20241113-090900-d276ad5 +stdlibCryptoVersion=2.7.3-20241113-081400-d015a39 +stdlibLogVersion=2.10.1-20241113-120000-4577868 +stdlibOsVersion=1.8.1-20241113-122000-cca973b +stdlibProtobufVersion=1.6.2-20241113-122200-13cac06 +stdlibRandomVersion=1.5.1-20241113-122300-1bc770e +stdlibTaskVersion=2.5.1-20241113-123500-f905281 -stdlibCacheVersion=3.8.0 -stdlibFileVersion=1.9.0 -stdlibMimeVersion=2.9.0 -stdlibUuidVersion=1.8.0 +stdlibCacheVersion=3.8.1-20241113-125700-b75a1bf +stdlibFileVersion=1.10.1-20241113-151700-e1a2e38 +stdlibMimeVersion=2.10.2-20241113-154200-d953747 +stdlibUuidVersion=1.8.1-20241113-154400-443c67b -stdlibAuthVersion=2.11.2 -stdlibJwtVersion=2.12.1 -stdlibOAuth2Version=2.11.0 +stdlibAuthVersion=2.12.1-20241113-162300-ded40eb +stdlibJwtVersion=2.13.1-20241113-162400-b59ccfa +stdlibOAuth2Version=2.12.1-20241113-162400-4c6ddfe -stdlibHttpVersion=2.11.4 +stdlibHttpVersion=2.13.0-20241114-182900-7e9f66a # Ballerinax Observer -observeVersion=1.2.3 -observeInternalVersion=1.2.2 +observeVersion=1.4.0-20241113-092000-b83ae74 +observeInternalVersion=1.3.1-20241113-101700-265054d diff --git a/protoc-cli/src/main/java/io/ballerina/protoc/GrpcConstants.java b/protoc-cli/src/main/java/io/ballerina/protoc/GrpcConstants.java index 26878bf..f1b099d 100644 --- a/protoc-cli/src/main/java/io/ballerina/protoc/GrpcConstants.java +++ b/protoc-cli/src/main/java/io/ballerina/protoc/GrpcConstants.java @@ -35,7 +35,7 @@ public class GrpcConstants { public static final String DOT = "."; public static final String PROTOCOL_PACKAGE_GRPC = "grpc"; - public static final String PROTOCOL_PACKAGE_VERSION_GRPC = getModule().getVersion(); + public static final String PROTOCOL_PACKAGE_VERSION_GRPC = getModule().getMajorVersion(); public static final String ORG_NAME = "ballerina"; public static final String PROTOCOL_STRUCT_PACKAGE_GRPC = ORG_NAME + ORG_NAME_SEPARATOR + "grpc:" + PROTOCOL_PACKAGE_VERSION_GRPC; diff --git a/tooling-tests/build.gradle b/tooling-tests/build.gradle index 5dbb711..a3e9bc0 100644 --- a/tooling-tests/build.gradle +++ b/tooling-tests/build.gradle @@ -132,8 +132,11 @@ checkstyle { checkstyleTest.dependsOn(":checkstyle:downloadCheckstyleRuleFiles") spotbugsTest { - 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