forked from bisq-network/bisq-monitor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
93 lines (78 loc) · 2.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
plugins {
id 'application'
alias(libs.plugins.openjfx)
id 'bisq.post-build'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
group 'bisq'
version = file("bisq/desktop/src/main/resources/version.txt").text.trim()
application {
project.mainClassName = 'bisq.monitor.AppChooserMain'
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}
jar.manifest.attributes(
"Implementation-Title": project.name,
"Implementation-Version": version
)
javafx {
version = '11.0.2'
modules = ['javafx.controls']
}
configurations.all {
exclude group: 'io.grpc'
distZip.enabled = true
distTar.enabled = false
}
dependencies {
implementation 'bisq:assets'
implementation 'bisq:common'
implementation 'bisq:core'
implementation 'bisq:proto'
implementation 'bisq:p2p'
implementation 'bisq:seednode'
implementation libs.guava
implementation libs.guice
implementation libs.failsafe
implementation libs.google.gson
implementation libs.protobuf.java
implementation libs.spark.core
implementation libs.apache.commons.compress
implementation libs.tukaani
implementation libs.chimp.jsocks
implementation libs.chimp.jtorctl
implementation libs.slf4j.api
implementation libs.logback.classic
implementation libs.logback.core
implementation(libs.bitcoinj) {
exclude(module: 'bcprov-jdk15on')
exclude(module: 'guava')
exclude(module: 'jsr305')
exclude(module: 'okhttp')
exclude(module: 'okio')
exclude(module: 'protobuf-java')
exclude(module: 'slf4j-api')
}
compileOnly libs.lombok
annotationProcessor libs.lombok
testAnnotationProcessor libs.lombok
testCompileOnly libs.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-monitor', 'bisq-monitor.bat']), 'lib'
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}