fabric-samples/off_chain_data/application-java/app/build.gradle
Mark S. Lewis adfd850e64 Use new default call options API in Java off_chain_data sample
Also use hyperlinks for easier navigation to code mentioned in the README.

Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
2022-06-14 11:34:10 -04:00

37 lines
696 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()
maven {
url 'https://hyperledger-fabric.jfrog.io/artifactory/fabric-maven'
}
}
dependencies {
implementation 'io.grpc:grpc-netty-shaded:1.46.0'
implementation 'org.hyperledger.fabric:fabric-gateway:1.0.2-dev-20220608-5'
implementation 'com.google.code.gson:gson:2.9.0'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}
checkstyle {
toolVersion '10.3'
}
application {
mainClass = 'App'
}