forked from hyperledger/fabric-chaincode-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
35 lines (29 loc) · 710 Bytes
/
build.gradle
File metadata and controls
35 lines (29 loc) · 710 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
plugins {
id 'com.gradleup.shadow' version '9.2.2'
id 'java'
}
group 'org.hyperledger.fabric-chaincode-java'
version ''
compileJava {
options.release = 11
}
repositories {
mavenCentral()
maven {
url "$projectDir/repository"
}
}
dependencies {
implementation 'org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim:2.5.8'
implementation 'org.hyperledger.fabric:fabric-protos:0.3.7'
}
shadowJar {
archiveBaseName = 'chaincode'
archiveVersion = ''
archiveClassifier = ''
duplicatesStrategy = DuplicatesStrategy.INCLUDE
mergeServiceFiles()
manifest {
attributes 'Main-Class': 'org.hyperledger.fabric.contract.ContractRouter'
}
}