mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
The Fabric Gateway client API v1.10.0 provides simplified access to Go error details. This change updates sample client application to use this latest version of the client API, and updates Go client applications to reflect the error handling changes. Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
26 lines
627 B
Groovy
26 lines
627 B
Groovy
plugins {
|
|
// Apply the application plugin to add support for building a CLI application.
|
|
id 'application'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.hyperledger.fabric:fabric-gateway:1.10.0'
|
|
implementation platform('com.google.protobuf:protobuf-bom:4.33.0')
|
|
implementation platform('io.grpc:grpc-bom:1.76.0')
|
|
compileOnly 'io.grpc:grpc-api'
|
|
runtimeOnly 'io.grpc:grpc-netty-shaded'
|
|
implementation 'com.google.code.gson:gson:2.13.2'
|
|
}
|
|
|
|
compileJava {
|
|
options.release = 11
|
|
}
|
|
|
|
application {
|
|
// Define the main class for the application.
|
|
mainClass = 'App'
|
|
}
|