-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
39 lines (33 loc) · 1.09 KB
/
build.gradle
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
37
38
39
plugins {
id 'com.github.johnrengelman.shadow' version '2.0.4'
id 'java-library'
}
group 'org.linkda'
version '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenLocal()
maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
}
dependencies {
implementation 'org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim:2.0.0'
implementation 'org.hyperledger.fabric:fabric-gateway-java:2.0.0'
implementation 'org.slf4j:slf4j-api:1.7.11'
implementation 'org.slf4j:slf4j-ext:1.7.11'
implementation 'org.apache.logging.log4j:log4j-slf4j-impl:2.11.0'
implementation 'org.apache.logging.log4j:log4j-api:2.11.0'
implementation 'org.apache.logging.log4j:log4j-core:2.11.0'
implementation 'com.alibaba:fastjson:1.2.62'
testCompile 'junit:junit:4.8.2'
}
shadowJar {
baseName = 'chaincode'
version = null
classifier = null
manifest {
attributes 'Main-Class': 'org.hyperledger.fabric.contract.ContractRouter'
}
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}