fabric-samples/off_chain_data/application-java/app/build.gradle
Mark S. Lewis 099f52ba3f
Update fabric-gateway to v1.8.0
Node 20+ is now required. This is the oldest currently support LTS
version of Node.js.

Docker images are moved to Node 22, which is the current LTS release.

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
2025-07-24 17:11:33 +01:00

38 lines
804 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.8.0'
implementation platform('com.google.protobuf:protobuf-bom:4.28.2')
implementation 'org.hyperledger.fabric:fabric-protos:0.3.4'
implementation platform('io.grpc:grpc-bom:1.67.1')
compileOnly 'io.grpc:grpc-api'
runtimeOnly 'io.grpc:grpc-netty-shaded'
implementation 'com.google.code.gson:gson:2.11.0'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}
checkstyle {
toolVersion '10.3'
}
application {
mainClass = 'App'
}