forked from sktston/vcx-demo-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
106 lines (95 loc) · 2.92 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
buildscript {
ext {
springBootVersion = '2.1.9.RELEASE'
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
group 'org.hyperledger'
version '0.8.0'
sourceCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
// for vcx java wrapper
maven {
url "http://13.125.219.189/repository/maven-public/" // skt-develop repo
}
// (temporal) indy java wrapper - for register_did
maven {
url "https://repo.sovrin.org/repository/maven-public" // sovrin repo
}
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-web') {
exclude module: "logback-classic"
}
testCompile('org.springframework.boot:spring-boot-starter-test') {
exclude module: "logback-classic"
}
// wrapper for vcx library
implementation 'com.evernym:vcx:0.8.0-sktston-SNAPSHOT' // use maven repository
//implementation fileTree(dir: '../build/libs', include: ['*.jar']) // use local lib
// (temporal) wrapper for indy library - for register_did
implementation 'org.hyperledger:indy:1.15.0'
// logger
implementation 'org.slf4j:slf4j-simple:1.7.25'
implementation 'net.java.dev.jna:jna:4.5.0'
implementation 'com.jayway.jsonpath:json-path:2.4.0'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'commons-cli:commons-cli:1.4'
// for WebClient
compile ('org.springframework.boot:spring-boot-starter-webflux') {
exclude module: "logback-classic"
}
compile 'org.projectreactor:reactor-spring:1.0.1.RELEASE'
}
task faber(type:JavaExec) {
group 'application'
classpath sourceSets.main.runtimeClasspath
main = 'Faber'
}
task faber_pg(type:JavaExec) {
group 'application'
classpath sourceSets.main.runtimeClasspath
main = 'Faber'
args(['--postgres'])
}
task alice(type:JavaExec) {
group 'application'
classpath sourceSets.main.runtimeClasspath
main = 'Alice'
standardInput = System.in
}
task alice_pg(type:JavaExec) {
group 'application'
classpath sourceSets.main.runtimeClasspath
main = 'Alice'
standardInput = System.in
args(['--postgres'])
}
task register_did(type:JavaExec) {
group 'application'
classpath sourceSets.main.runtimeClasspath
main = 'RegisterDid'
}
task webhook_faber(type:JavaExec) {
group 'application'
classpath sourceSets.main.runtimeClasspath
main = 'webhook.faber.Application'
args(['--spring.config.location=classpath:/application-faber.properties'])
}
task webhook_alice(type:JavaExec) {
group 'application'
classpath sourceSets.main.runtimeClasspath
main = 'webhook.alice.Application'
args(['--spring.config.location=classpath:/application-alice.properties'])
}