mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Also update some GitHub Actions versions. Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
26 lines
557 B
Groovy
26 lines
557 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.4.0'
|
|
compileOnly 'io.grpc:grpc-api:1.59.0'
|
|
runtimeOnly 'io.grpc:grpc-netty-shaded:1.59.0'
|
|
implementation 'com.google.code.gson:gson:2.10.1'
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(11)
|
|
}
|
|
}
|
|
|
|
application {
|
|
// Define the main class for the application.
|
|
mainClass = 'App'
|
|
}
|