-
Notifications
You must be signed in to change notification settings - Fork 212
Expand file tree
/
Copy pathbuild.gradle
More file actions
36 lines (30 loc) · 783 Bytes
/
build.gradle
File metadata and controls
36 lines (30 loc) · 783 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
36
plugins {
id 'com.gradleup.shadow' version '8.3.9'
id 'java'
}
group 'org.hyperledger.fabric-chaincode-java'
version '1.0-SNAPSHOT'
compileJava {
options.release = 11
}
repositories {
mavenCentral()
maven {
url "$projectDir/repository"
}
}
dependencies {
implementation 'org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim:2.5.7'
implementation 'org.hyperledger.fabric:fabric-protos:0.3.7'
implementation 'commons-logging:commons-logging:1.3.5'
implementation 'com.google.code.gson:gson:2.13.1'
}
shadowJar {
archiveBaseName = 'chaincode'
archiveVersion = ''
archiveClassifier = ''
mergeServiceFiles()
manifest {
attributes 'Main-Class': 'org.hyperledger.fabric.contract.ContractRouter'
}
}