diff --git a/build.gradle b/build.gradle index 8412580..00386d3 100644 --- a/build.gradle +++ b/build.gradle @@ -12,7 +12,7 @@ buildscript { } } dependencies { - classpath 'com.google.protobuf:protobuf-gradle-plugin:0.9.5' + classpath 'com.google.protobuf:protobuf-gradle-plugin:0.10.0' } } @@ -21,7 +21,7 @@ plugins { id 'jacoco' id 'base' id 'maven-publish' - id 'com.gradleup.shadow' version '8.3.6' + id 'com.gradleup.shadow' version '8.3.10' id 'io.github.gradle-nexus.publish-plugin' version '2.0.0' } @@ -44,7 +44,7 @@ java { targetCompatibility = JavaVersion.VERSION_11 } -def grpcVersion = '1.73.0' +def grpcVersion = '1.81.0' def dgraph4jVersion = "$version" def openCensusVersion = '0.31.1' @@ -53,7 +53,7 @@ protobuf { // The version of protoc must match protobuf-java. If you don't depend on // protobuf-java directly, you will be transitively depending on the // protobuf-java version that grpc depends on. - artifact = 'com.google.protobuf:protoc:4.31.1' + artifact = 'com.google.protobuf:protoc:4.34.1' } plugins { grpc { @@ -100,32 +100,32 @@ configurations { // In this section you declare the dependencies for your production and test code dependencies { // The production code uses the SLF4J logging API at compile time - implementation 'org.slf4j:slf4j-api:2.0.17' + implementation 'org.slf4j:slf4j-api:2.0.18' // Specific slf4j bindings should not be included in the default (compile) scope. // See http://www.slf4j.org/faq.html#maven2. - testImplementation 'org.slf4j:slf4j-simple:2.0.17' + testImplementation 'org.slf4j:slf4j-simple:2.0.18' implementation "io.grpc:grpc-protobuf:${grpcVersion}" implementation "io.grpc:grpc-netty:${grpcVersion}" implementation "io.grpc:grpc-stub:${grpcVersion}" - implementation 'com.google.guava:guava:33.4.8-jre' + implementation 'com.google.guava:guava:33.6.0-jre' // Explicit matching of protobuf-java and protoc versions to address // compilation errors arising due to transitive dependency on the version of // protobuf-java that grpc depends on. - implementation 'com.google.protobuf:protobuf-java:4.31.1' + implementation 'com.google.protobuf:protobuf-java:4.34.1' testImplementation "io.opencensus:opencensus-api:${openCensusVersion}" testImplementation "io.opencensus:opencensus-exporter-trace-jaeger:${openCensusVersion}" testRuntimeOnly "io.opencensus:opencensus-impl:${openCensusVersion}" // Used for unmarshalling a JSON GraphQL response - testImplementation 'com.google.code.gson:gson:2.13.1' + testImplementation 'com.google.code.gson:gson:2.14.0' // Declare the dependency for your favourite test framework you want to use in your tests. - testImplementation 'org.testng:testng:7.11.0' + testImplementation 'org.testng:testng:7.12.0' // javax.annotation is removed from the oracle java se 11, and requires explicit dependency implementation 'javax.annotation:javax.annotation-api:1.3.2' diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index ff23a68..4f5eb9d 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.5-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/samples/DgraphJavaSample/build.gradle b/samples/DgraphJavaSample/build.gradle index 7f37a50..ddc0fff 100644 --- a/samples/DgraphJavaSample/build.gradle +++ b/samples/DgraphJavaSample/build.gradle @@ -23,7 +23,7 @@ dependencies { testImplementation 'junit:junit:4.13.2' // https://mvnrepository.com/artifact/com.google.code.gson/gson - implementation 'com.google.code.gson:gson:2.13.1' + implementation 'com.google.code.gson:gson:2.14.0' } // Define the main class for the application diff --git a/samples/DgraphJavaSample/gradle/wrapper/gradle-wrapper.properties b/samples/DgraphJavaSample/gradle/wrapper/gradle-wrapper.properties index ff23a68..4f5eb9d 100644 --- a/samples/DgraphJavaSample/gradle/wrapper/gradle-wrapper.properties +++ b/samples/DgraphJavaSample/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.5-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/samples/DgraphJavaSampleDeadlineInterceptors/build.gradle b/samples/DgraphJavaSampleDeadlineInterceptors/build.gradle index 7f37a50..ddc0fff 100644 --- a/samples/DgraphJavaSampleDeadlineInterceptors/build.gradle +++ b/samples/DgraphJavaSampleDeadlineInterceptors/build.gradle @@ -23,7 +23,7 @@ dependencies { testImplementation 'junit:junit:4.13.2' // https://mvnrepository.com/artifact/com.google.code.gson/gson - implementation 'com.google.code.gson:gson:2.13.1' + implementation 'com.google.code.gson:gson:2.14.0' } // Define the main class for the application diff --git a/samples/DgraphJavaSampleDeadlineInterceptors/gradle/wrapper/gradle-wrapper.properties b/samples/DgraphJavaSampleDeadlineInterceptors/gradle/wrapper/gradle-wrapper.properties index ff23a68..4f5eb9d 100644 --- a/samples/DgraphJavaSampleDeadlineInterceptors/gradle/wrapper/gradle-wrapper.properties +++ b/samples/DgraphJavaSampleDeadlineInterceptors/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.5-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/samples/DgraphJavaSampleWithDeadlineAfter/build.gradle b/samples/DgraphJavaSampleWithDeadlineAfter/build.gradle index f5ac7bb..8ddfd2a 100644 --- a/samples/DgraphJavaSampleWithDeadlineAfter/build.gradle +++ b/samples/DgraphJavaSampleWithDeadlineAfter/build.gradle @@ -23,7 +23,7 @@ dependencies { testImplementation 'junit:junit:4.13.2' // https://mvnrepository.com/artifact/com.google.code.gson/gson - implementation 'com.google.code.gson:gson:2.13.1' + implementation 'com.google.code.gson:gson:2.14.0' } diff --git a/samples/DgraphJavaSampleWithDeadlineAfter/gradle/wrapper/gradle-wrapper.properties b/samples/DgraphJavaSampleWithDeadlineAfter/gradle/wrapper/gradle-wrapper.properties index ff23a68..4f5eb9d 100644 --- a/samples/DgraphJavaSampleWithDeadlineAfter/gradle/wrapper/gradle-wrapper.properties +++ b/samples/DgraphJavaSampleWithDeadlineAfter/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.5-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/samples/concurrent-modification/pom.xml b/samples/concurrent-modification/pom.xml index 18dc2d9..10ef264 100644 --- a/samples/concurrent-modification/pom.xml +++ b/samples/concurrent-modification/pom.xml @@ -11,7 +11,7 @@ maven-compiler-plugin - 3.14.0 + 3.15.0 1.8 1.8 @@ -20,7 +20,7 @@ org.codehaus.mojo exec-maven-plugin - 3.5.1 + 3.6.3 io.dgraph.example.MultiThreadedMutationLauncher @@ -38,7 +38,7 @@ com.google.code.gson gson - 2.13.1 + 2.14.0