Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repositories {
}

group = 'com.datadoghq'
version = '0.8.3'
version = '1.8.3'

sourceCompatibility = '1.8'
targetCompatibility = '1.8'
Expand Down Expand Up @@ -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'
Expand All @@ -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'
}
}

Expand Down Expand Up @@ -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' +
Expand Down Expand Up @@ -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
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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