mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Also: - Refactor application-gateway-java slightly to reflect more idiomatic Java class structure, in line with asset-transfer-events sample. - Correctly handle unexpected error case where key file is missing. - Update Gradle wrapper for application-gateway-java. Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
32 lines
852 B
Groovy
32 lines
852 B
Groovy
/*
|
|
* This file was generated by the Gradle 'init' task.
|
|
*
|
|
* This generated file contains a sample Java project to get you started.
|
|
* For more details take a look at the Java Quickstart chapter in the Gradle
|
|
* User Manual available at https://docs.gradle.org/6.5/userguide/tutorial_java_projects.html
|
|
*/
|
|
plugins {
|
|
// Apply the application plugin to add support for building a CLI application.
|
|
id 'application'
|
|
|
|
}
|
|
ext {
|
|
javaMainClass = "application.java.App"
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
// This dependency is used by the application.
|
|
implementation 'org.hyperledger.fabric:fabric-gateway:1.0.0'
|
|
implementation 'io.grpc:grpc-netty-shaded:1.42.0'
|
|
implementation 'com.google.code.gson:gson:2.8.9'
|
|
|
|
}
|
|
|
|
application {
|
|
// Define the main class for the application.
|
|
mainClass = 'App'
|
|
}
|