-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
98 lines (92 loc) · 3.07 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
plugins {
id 'org.springframework.boot' version '2.3.1.RELEASE'
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
id 'java'
}
group 'org.hyperledger'
version '0.8.0'
sourceCompatibility = '14'
targetCompatibility = '14'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
// for vcx java wrapper
maven {
url "http://13.125.219.189/repository/maven-public/" // skt-develop repo
}
}
dependencies {
implementation('org.springframework.boot:spring-boot-starter-webflux') {
exclude module: "logback-classic"
}
compileOnly 'org.projectlombok:lombok'
compile group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.8.0'
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.10'
implementation 'com.jayway.jsonpath:json-path:2.4.0'
implementation 'org.slf4j:slf4j-simple:1.7.25'
implementation 'net.java.dev.jna:jna:4.5.0'
implementation 'commons-cli:commons-cli:1.4'
implementation 'com.jayway.jsonpath:json-path:2.4.0'
compile group: 'io.leonard', name: 'base58', version: '0.0.2'
annotationProcessor 'org.projectlombok:lombok'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
exclude module: "logback-classic"
}
// wrapper for vcx library
implementation 'com.evernym:vcx:0.8.2-sktston-SNAPSHOT' // use maven repository
}
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'
environment("ENABLE_POSTGRES", "true")
}
task faber_revoke(type:JavaExec) {
group 'application'
classpath sourceSets.main.runtimeClasspath
main = 'Faber'
environment("ENABLE_REVOKE", "true")
}
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
environment("ENABLE_POSTGRES", "true")
}
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_faber_revoke(type:JavaExec) {
group 'application'
classpath sourceSets.main.runtimeClasspath
main = 'webhook.faber.Application'
args(['--spring.config.location=classpath:/application-faber.properties'])
environment("ENABLE_REVOKE", "true")
}
task webhook_alice(type:JavaExec) {
group 'application'
classpath sourceSets.main.runtimeClasspath
main = 'webhook.alice.Application'
args(['--spring.config.location=classpath:/application-alice.properties'])
}