forked from bisq-network/bisq-daonode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
79 lines (64 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
plugins {
id 'application'
id 'bisq.post-build'
alias(libs.plugins.openjfx)
alias(libs.plugins.shadow)
}
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
group 'bisq'
version = file("bisq/desktop/src/main/resources/version.txt").text.trim()
application {
project.mainClassName = 'bisq.daonode.DaoNodeApplication'
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}
jar.manifest.attributes(
"Implementation-Title": project.name,
"Implementation-Version": version
)
configurations.all {
exclude group: 'com.github.bisq-network:bitcoinj'
exclude group: 'io.grpc'
}
dependencies {
implementation enforcedPlatform(project(':platform'))
implementation 'bisq:assets'
implementation 'bisq:common'
implementation('bisq:core') {
exclude group: 'com.fasterxml.jackson.core', module: 'jackson-annotations'
exclude group: 'com.fasterxml.jackson.core', module: 'jackson-core'
exclude group: 'com.fasterxml.jackson.core', module: 'jackson-databind'
}
implementation 'bisq:p2p'
implementation libs.chimp.jsocks
implementation bisqLibs.fxmisc.easybind
implementation libs.glassfish.jaxb
implementation bisqLibs.google.guava
implementation bisqLibs.google.guice
implementation libs.bundles.jersey.libs
implementation libs.swagger
implementation bisqLibs.logback.core
implementation bisqLibs.logback.classic
compileOnly bisqLibs.lombok
annotationProcessor bisqLibs.lombok
implementation bisqLibs.slf4j.api
testAnnotationProcessor bisqLibs.lombok
testCompileOnly bisqLibs.lombok
testImplementation libs.junit.jupiter
}
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-daonode', 'bisq-daonode.bat']), 'lib'
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}