From f060d0e5de936783c43ebc2d5f6ef84f5d604f94 Mon Sep 17 00:00:00 2001 From: Pranav Mahajan Date: Fri, 3 Apr 2026 12:49:47 +0530 Subject: [PATCH] VW-81105: Vulnerabilty changes --- build.gradle | 11 ++++++----- gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 2877a21..25d3817 100644 --- a/build.gradle +++ b/build.gradle @@ -14,7 +14,7 @@ repositories { } group = 'com.datadoghq' -version = '0.8.3' +version = '1.8.3' sourceCompatibility = '1.8' targetCompatibility = '1.8' @@ -55,8 +55,8 @@ java { } dependencies { - protobufImplementation 'com.google.protobuf:protobuf-java:3.13.0' - testImplementation 'com.google.protobuf:protobuf-java:3.13.0' + protobufImplementation 'com.google.protobuf:protobuf-java:4.34.1' + testImplementation 'com.google.protobuf:protobuf-java:4.34.1' testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.2' testImplementation 'org.junit.jupiter:junit-jupiter-params:5.7.2' testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.2' @@ -67,7 +67,7 @@ dependencies { protobuf { // make it possible to build without protoc installed protoc { - artifact = 'com.google.protobuf:protoc:3.3.0' + artifact = 'com.google.protobuf:protoc:4.34.1' } } @@ -109,7 +109,7 @@ test { spotless { java { - googleJavaFormat() + googleJavaFormat('1.17.0') licenseHeader '/* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License 2.0.\n' + ' * This product includes software developed at Datadog (https://www.datadoghq.com/).\n' + ' * Copyright $YEAR Datadog, Inc.\n' + @@ -177,6 +177,7 @@ nexusPublishing { } signing { + required { gradle.taskGraph.hasTask("publishToSonatype") } useInMemoryPgpKeys(System.getenv("GPG_PRIVATE_KEY"), System.getenv("GPG_PASSPHRASE")) sign publishing.publications.mavenJava } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 29e4134..a595206 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists