-
Notifications
You must be signed in to change notification settings - Fork 13
/
build.gradle
79 lines (63 loc) · 2 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
plugins {
id 'application'
alias(libs.plugins.springboot)
id 'bisq.post-build'
}
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
group 'bisq'
apply plugin: "org.springframework.boot"
apply plugin: 'io.spring.dependency-management'
version = file("src/main/resources/version.txt").text.trim()
application {
project.mainClassName = 'bisq.price.Main'
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}
jar.manifest.attributes(
"Implementation-Title": project.name,
"Implementation-Version": version
)
configurations.all {
exclude group: 'bisq', module: 'proto'
exclude group: 'bisq', module: 'p2p'
exclude group: 'com.github.bisq-network:bitcoinj'
exclude group: 'com.github.bisq-network.netlayer'
exclude group: 'com.github.bisq-network.tor-binary'
exclude group: 'io.grpc'
exclude group: 'org.fxmisc.easybind'
}
dependencies {
implementation enforcedPlatform(project(':platform'))
// We need three subprojects from includeBuild('bisq'), with some of their transitive dependencies.
implementation 'bisq:assets'
implementation 'bisq:common'
implementation 'bisq:core'
implementation libs.bundles.knowm.xchange.libs
implementation libs.logback.core
implementation libs.logback.classic
compileOnly libs.lombok
annotationProcessor libs.lombok
implementation libs.slf4j.api
implementation(libs.spring.boot.starter.web) {
exclude group: 'ch.qos.logback'
exclude group: 'org.slf4j'
}
implementation(libs.spring.boot.starter.webflux)
testAnnotationProcessor libs.lombok
testCompileOnly libs.lombok
testImplementation libs.junit.jupiter
testImplementation libs.mockito.core
}
clean.doFirst {
// Remove the project root level 'bisq-*' scripts and 'lib' dir generated at the end of the assemble task.
delete fileTree(dir: projectDir, include: ['bisq-pricenode', 'bisq-pricenode.bat']), 'lib'
}
test {
useJUnitPlatform()
}