fabric-samples/off_chain_data/application-java/app/build.gradle
Mark S. Lewis f8e7bfe803
Update Gateway samples for v1.1 release (#779)
- Updated build to use Go 1.18 since Go 1.16 is no longer supported.
- Use Java 11 in updated samples, and take advantage of new language features.

Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
2022-06-30 15:46:32 +01:00

35 lines
652 B
Groovy

/*
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
plugins {
id 'application' // Support for building a CLI application in Java.
id 'checkstyle'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.hyperledger.fabric:fabric-gateway:1.1.0'
implementation 'org.hyperledger.fabric:fabric-protos:0.1.3'
implementation 'io.grpc:grpc-netty-shaded:1.47.0'
implementation 'com.google.code.gson:gson:2.9.0'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}
checkstyle {
toolVersion '10.3'
}
application {
mainClass = 'App'
}