forked from hyperledger/fabric-chaincode-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
36 lines (28 loc) · 843 Bytes
/
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
dependencies {
compile project(':fabric-chaincode-docker')
testCompile 'org.hyperledger.fabric-sdk-java:fabric-sdk-java:1.4.4'
compile project(':fabric-chaincode-shim')
implementation group: 'org.json', name: 'json', version: '20180813'
}
test {
// Always run tests, even when nothing changed.
dependsOn 'cleanTest'
// Show test results.
testLogging {
events "passed", "skipped", "failed"
showExceptions true
showCauses true
showStandardStreams true
exceptionFormat "full"
}
}
task getLatestDockerImages{
doLast {
exec {
workingDir "."
commandLine "sh", "-c", "./getDockerImages.sh"
}
}
}
build.dependsOn project(':fabric-chaincode-docker').buildImage
test.dependsOn project.getLatestDockerImages