/* * 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.1' implementation 'org.hyperledger.fabric:fabric-protos:0.1.5' implementation 'io.grpc:grpc-netty-shaded:1.50.1' implementation 'com.google.code.gson:gson:2.9.1' } java { toolchain { languageVersion = JavaLanguageVersion.of(11) } } checkstyle { toolVersion '10.3' } application { mainClass = 'App' }