mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Signed-off-by: Simon Stone <sstone1@uk.ibm.com> Change-Id: Ie66fc453cba72dee4ad84b5d1e77feb64a37f678
39 lines
770 B
Groovy
39 lines
770 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://nexus.hyperledger.org/content/repositories/snapshots/"
|
|
}
|
|
maven {
|
|
url 'https://jitpack.io'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim:2.0.0-SNAPSHOT'
|
|
}
|
|
|
|
shadowJar {
|
|
baseName = 'chaincode'
|
|
version = null
|
|
classifier = null
|
|
|
|
manifest {
|
|
attributes 'Main-Class': 'org.hyperledger.fabric_samples.ABstore'
|
|
}
|
|
}
|