mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Update application and chaincode dependendencies to use v2.0 or later versions in package.json, build.gradle, pom.xml files. Signed-off-by: David Enyeart <enyeart@us.ibm.com>
39 lines
751 B
Groovy
39 lines
751 B
Groovy
/*
|
|
* Copyright IBM Corp. 2018 All Rights Reserved.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
plugins {
|
|
id 'com.github.johnrengelman.shadow' version '5.1.0'
|
|
id 'java'
|
|
}
|
|
|
|
group 'org.hyperledger.fabric-chaincode-java'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
maven {
|
|
url "https://hyperledger.jfrog.io/hyperledger/fabric-maven"
|
|
}
|
|
maven {
|
|
url 'https://jitpack.io'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim:2.+'
|
|
}
|
|
|
|
shadowJar {
|
|
baseName = 'chaincode'
|
|
version = null
|
|
classifier = null
|
|
|
|
manifest {
|
|
attributes 'Main-Class': 'org.hyperledger.fabric_samples.ABstore'
|
|
}
|
|
}
|