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
20 changes: 10 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}

Expand All @@ -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'
}

Expand All @@ -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'

Expand All @@ -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 {
Expand Down Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion samples/DgraphJavaSample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion samples/DgraphJavaSampleWithDeadlineAfter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'

}

Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions samples/concurrent-modification/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.14.0</version>
<version>3.15.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand All @@ -20,7 +20,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.5.1</version>
<version>3.6.3</version>
<configuration>
<mainClass>io.dgraph.example.MultiThreadedMutationLauncher</mainClass>
</configuration>
Expand All @@ -38,7 +38,7 @@
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.13.1</version>
<version>2.14.0</version>
</dependency>
</dependencies>
</project>
Loading