mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
According to sonatype.org naming requirements, java shim jars groupId should be org.hyperledger.fabric-chaincode-java Change-Id: Ia30cb77b1081b3fb4f7573568f2e2abfe89315d4 Signed-off-by: gennady <gennady@il.ibm.com>
34 lines
717 B
Groovy
34 lines
717 B
Groovy
/*
|
|
* Copyright IBM Corp. 2018 All Rights Reserved.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
plugins {
|
|
id 'com.github.johnrengelman.shadow' version '2.0.3'
|
|
id 'java'
|
|
}
|
|
|
|
group 'org.hyperledger.fabric-chaincode-java'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
compile group: 'org.hyperledger.fabric-chaincode-java', name: 'fabric-chaincode-shim', version: '1.3.0-SNAPSHOT'
|
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
|
}
|
|
|
|
shadowJar {
|
|
baseName = 'chaincode'
|
|
version = null
|
|
classifier = null
|
|
|
|
manifest {
|
|
attributes 'Main-Class': 'org.hyperledger.fabric.example.SimpleChaincode'
|
|
}
|
|
}
|