This repository has been archived by the owner on Jan 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 367
/
build.gradle
90 lines (79 loc) · 3.17 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
plugins {
id 'checkstyle'
}
group 'cc.c1234'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
allprojects {
repositories {
mavenLocal()
mavenCentral()
maven {
url 'https://maven.aliyun.com/nexus/content/groups/public/'
}
}
}
subprojects {
apply plugin: 'java-library'
apply plugin: 'idea'
apply plugin: 'checkstyle'
sourceCompatibility = 17
group 'cc.c1234'
version '2.1.1'
checkstyle {
toolVersion = '8.42'
ignoreFailures = false
maxWarnings = 0
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
ext {
slf4jVersion = '1.7.28'
jacksonVersion = '2.12.0'
log4jVersion = '2.20.0'
junitVersion = '4.12'
zookeeperVersion = '3.6.4'
curatorRecipesVersion = '5.4.0'
guavaVersio = '27.0.1-jre'
jfoenixVersion = '9.0.10'
richtextfxVersion = '0.11.0'
sshjVersion = '0.34.0'
antlr4RuntimeVersion = '4.9.2'
commonsIoVersion = '2.10.0'
lombokVersion = '1.18.22'
mapStructVersion = '1.5.3.Final'
}
dependencies {
implementation group: 'org.slf4j', name: 'slf4j-api', version: "${slf4jVersion}"
implementation "org.apache.logging.log4j:log4j-api:${log4jVersion}"
implementation "org.apache.logging.log4j:log4j-core:${log4jVersion}"
implementation "org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
testImplementation group: 'junit', name: 'junit', version: "${junitVersion}"
constraints {
implementation group: 'commons-io', name: 'commons-io', version: "${commonsIoVersion}"
implementation group: 'com.hierynomus', name: 'sshj', version: "${sshjVersion}"
implementation group: 'org.fxmisc.richtext', name: 'richtextfx', version: "${richtextfxVersion}"
implementation group: 'com.jfoenix', name: 'jfoenix', version: "${jfoenixVersion}"
implementation "com.google.guava:guava:${guavaVersio}"
implementation group: 'org.antlr', name: 'antlr4-runtime', version: "${antlr4RuntimeVersion}"
implementation('org.slf4j:slf4j-api:2.0.6') {
force = true
}
implementation('org.slf4j:slf4j-log4j12:2.0.6') {
force = true
}
api("org.apache.zookeeper:zookeeper:${zookeeperVersion}") {
force = true
}
implementation "org.apache.curator:curator-recipes:${curatorRecipesVersion}"
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: "${jacksonVersion}"
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: "${jacksonVersion}"
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: "${jacksonVersion}"
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jdk8', version: "${jacksonVersion}"
compileOnly "org.projectlombok:lombok:${lombokVersion}"
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
}
}
}