fabric-samples/off_chain_data/application-java/app/build.gradle
Mark S. Lewis 636a273a48
Java off-chain data store sample using Fabric Gateway (#749)
Also minor implementation changes to TypeScript sample for better consistency between implementations.

Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
2022-05-26 13:42:41 +01:00

38 lines
753 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 'com.google.guava:guava:30.1.1-jre'
implementation 'io.grpc:grpc-netty-shaded:1.46.0'
implementation 'org.hyperledger.fabric:fabric-gateway:1.0.2-dev-20220518-1'
implementation 'com.google.code.gson:gson:2.9.0'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}
checkstyle {
toolVersion '10.2'
}
application {
mainClass = 'App'
}