mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-18 16:05:10 +00:00
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com> Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
25 lines
517 B
Groovy
25 lines
517 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.1.1'
|
|
implementation 'io.grpc:grpc-netty-shaded:1.50.1'
|
|
implementation 'com.google.code.gson:gson:2.9.1'
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(11)
|
|
}
|
|
}
|
|
|
|
application {
|
|
// Define the main class for the application.
|
|
mainClass = 'App'
|
|
}
|