-
Notifications
You must be signed in to change notification settings - Fork 241
/
build.gradle
113 lines (100 loc) · 4.85 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
107
108
109
110
111
112
113
plugins {
id("shared-build-conventions")
id("shared-repositories-ext-conventions")
}
group = projectGroup
version = projectVersion
jar {
archiveFileName = "batm_server_extensions_extra.${archiveExtension.get()}"
}
configurations {
artifactOnly
// handle Github (e.g. community) vs GENERAL BYTES dichotomy
generalBytesCompile
githubCompile
if (hasGbArtifactory) {
implementation { extendsFrom generalBytesCompile }
} else {
implementation { extendsFrom githubCompile }
}
}
artifacts {
artifactOnly jar
}
ext {
xchangeVersion = '5.0.10'
}
dependencies {
implementation project(":server_extensions_api")
implementation project(":currencies")
implementation("com.github.Polve:JavaBitcoindRpcClient:$javaBitcoindRpcVersion")
implementation("org.slf4j:slf4j-api:1.7.28")
implementation("com.github.mmazi:rescu:2.1.0")
implementation("javax.ws.rs:javax.ws.rs-api:2.1")
implementation("javax.servlet:javax.servlet-api:3.1.0")
implementation("com.fasterxml.jackson.core:jackson-annotations:2.12.0")
implementation("com.fasterxml.jackson.core:jackson-databind:2.12.0")
implementation("com.fasterxml.jackson.core:jackson-core:2.12.0")
implementation("com.google.guava:guava:30.1.1-jre")
implementation("com.google.zxing:core:3.5.1")
implementation("org.knowm.xchange:xchange-core:$xchangeVersion")
implementation("org.knowm.xchange:xchange-bitfinex:$xchangeVersion")
implementation("org.knowm.xchange:xchange-binance:5.0.12")
implementation("org.knowm.xchange:xchange-bittrex:$xchangeVersion")
implementation("org.knowm.xchange:xchange-bitstamp:5.0.13")
implementation("org.knowm.xchange:xchange-hitbtc:$xchangeVersion")
implementation("org.knowm.xchange:xchange-dvchain:$xchangeVersion")
implementation("org.knowm.xchange:xchange-coinbasepro:$xchangeVersion")
implementation("org.knowm.xchange:xchange-coingi:$xchangeVersion")
implementation("org.knowm.xchange:xchange-enigma:$xchangeVersion")
implementation("org.knowm.xchange:xchange-poloniex:$xchangeVersion")
implementation("org.web3j:core:4.9.0")
implementation("org.web3j:crypto:4.9.0")
implementation("org.web3j:utils:4.9.0")
implementation("org.web3j:abi:4.9.0")
implementation("org.java-websocket:Java-WebSocket:1.5.2")
implementation("io.reactivex.rxjava2:rxjava:2.2.2") // for ERC20Interface generated by web3j
implementation("org.reactivestreams:reactive-streams:1.0.2") // for ERC20Interface generated by web3j
implementation("com.squareup.okhttp3:okhttp:4.9.0")
implementation("com.squareup.okio:okio:2.8.0")
implementation("org.bitcoinj:bitcoinj-core:0.16.1")
// Note when updating bitcoinj: block.io depends on libdohj for doge and ltc
// which depends on bitcoinj and extends some classes, it must be compatible version
// and it will break at runtime if the version is substituted for an incompatible one
implementation("com.github.dogecoin:libdohj:a2a37e454e5cd02f664ca119ab8b59dfddc75590")
implementation("org.xrpl:xrpl4j-model:2.1.0")
implementation("org.xrpl:xrpl4j-keypairs:2.1.0")
implementation("org.bouncycastle:bcprov-jdk15on:1.63")
runtimeOnly("com.google.protobuf:protobuf-java:3.13.0")
generalBytesCompile("com.generalbytes.bitrafael.public:bitrafael-client:$bitrafaelVersion") {
exclude group: 'org.slf4j', module: 'slf4j-simple'
}
githubCompile("com.github.GENERALBYTESCOM.bitrafael_public:bitrafael-client:$bitrafaelVersion") {
exclude group: 'org.slf4j', module: 'slf4j-simple'
}
generalBytesCompile("com.generalbytes.bitrafael.public:bitrafael-client-api:$bitrafaelVersion")
githubCompile("com.github.GENERALBYTESCOM.bitrafael_public:bitrafael-client-api:$bitrafaelVersion")
generalBytesCompile("com.generalbytes.bitrafael.public:bitrafael-server-api:$bitrafaelVersion")
githubCompile("com.github.GENERALBYTESCOM.bitrafael_public:bitrafael-server-api:$bitrafaelVersion")
implementation("com.github.generalbytescom.trident:abi:fff6ed0") // fff6ed0 should be close to 0.1.1
implementation("com.github.generalbytescom.trident:core:fff6ed0")
implementation("com.github.generalbytescom.trident:utils:fff6ed0")
implementation("com.google.protobuf:protobuf-java:3.13.0")
implementation("com.onfido:onfido-api-java:2.3.1")
testImplementation("junit:junit:4.13.1")
testImplementation("org.assertj:assertj-core:3.19.0")
testImplementation("ch.qos.logback:logback-classic:1.2.9")
testImplementation("ch.qos.logback:logback-core:1.2.9")
testImplementation("org.assertj:assertj-core:3.19.0")
testImplementation('org.glassfish.jersey.core:jersey-common:2.25.1')
}
test {
testLogging {
events "failed"
showExceptions true
exceptionFormat "full"
showCauses true
showStackTraces true
showStandardStreams = false
}
}