-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
133 lines (105 loc) · 4.74 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
subprojects {
apply plugin: 'java'
group = 'org.rain.app'
version = '1.0.0.SNAPSHOT'//SNAPSHOT RELEASE
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
options.fork = true
options.compilerArgs = [
'-Xlint:unchecked',
'-Xlint:deprecation',
'-parameters'
]
}
tasks.withType(Javadoc) {
options.encoding = 'UTF-8'
}
repositories {
//maven { url "https://maven.aliyun.com/nexus/content/groups/public/" }
mavenLocal()
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
maven { url "https://mvnrepository.com/" }
maven { url "https://repo.spring.io/snapshot" }
maven { url "https://repo.spring.io/milestone" }
maven { url "https://repo.spring.io/libs-milestone" }
maven { url "https://repo.spring.io/release" }
maven { url "https://dl.bintray.com/gradle/gradle-plugins" }
maven { url "https://dl.bintray.com/umsdk/release" }
gradlePluginPortal()
google()
}
configurations {
all*.exclude module: 'logback-classic'
}
dependencies {
//implementation(project(':rain-vertx-base'))
// guice ioc
implementation("com.google.inject:guice:$guiceVersionn")
// lombok
compileOnly("org.projectlombok:lombok:$lombokVersion")
annotationProcessor("org.projectlombok:lombok:$lombokVersion")
implementation("org.projectlombok:lombok:$lombokVersion")
// Base
implementation("com.google.guava:guava:$guavaVersion")
implementation("org.apache.commons:commons-collections4:$commonsCollectionsVersion")
implementation("org.apache.commons:commons-lang3:$commonsLongVersion")
implementation("org.apache.commons:commons-text:$commonsTextVersion")
implementation("commons-io:commons-io:$commonsIOVersion")
implementation("org.apache.commons:commons-pool2:$commonsPool2Version")
// log4j2
implementation("org.apache.logging.log4j:log4j-core:$log4j2Version")
implementation("org.apache.logging.log4j:log4j-api:$log4j2Version")
// Library
implementation("com.fasterxml.jackson.core:jackson-databind:$jacksonVersion")
implementation("com.fasterxml.jackson.core:jackson-annotations:$jacksonVersion")
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jacksonVersion")
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jdk8:$jacksonVersion")
implementation("com.fasterxml.jackson.datatype:jackson-datatype-eclipse-collections:$jacksonVersion")
implementation("com.fasterxml.jackson.datatype:jackson-datatype-hppc:$jacksonVersion")
implementation("com.fasterxml.jackson.datatype:jackson-datatype-guava:$jacksonVersion")
implementation("com.fasterxml.jackson.module:jackson-module-parameter-names:$jacksonVersion")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:$jacksonVersion")
implementation("org.eclipse.collections:eclipse-collections-api:$eclipseCollectionVersion")
implementation("org.eclipse.collections:eclipse-collections:$eclipseCollectionVersion")
implementation("org.eclipse.collections:eclipse-collections-forkjoin:$eclipseCollectionVersion")
// 内存MQ
implementation("com.lmax:disruptor:$disruptorVersion")
// 内存缓存
implementation("com.github.ben-manes.caffeine:caffeine:$caffeineVersion")
// vavr
implementation("io.vavr:vavr:$vavrVersion")
implementation("io.vavr:vavr-match:$vavrVersion")
// jctools
implementation("org.jctools:jctools-core:$jctoolsVersion")
// hppc
implementation("com.carrotsearch:hppc:$hppcVersion")
// 内存搜索
implementation("com.googlecode.cqengine:cqengine:$cqengineVersion")
// time
implementation("joda-time:joda-time:$jodaTimeVersion")
// uuid
implementation("com.fasterxml.uuid:java-uuid-generator:$javaUuidVersion")
implementation("org.jetbrains:annotations:$jetbrainsAnnotationsVersion")
}
test {
useJUnitPlatform()
}
apply from: "$rootDir/gradle/config/scripts/style.gradle"
apply from: "$rootDir/gradle/config/scripts/coverage.gradle"
}
allprojects {
apply plugin: 'idea'
apply plugin: 'project-report'
}
apply from: "$rootDir/gradle/config/scripts/idea.gradle"
wrapper {
gradleVersion = '7.4.2'
}
subprojects {
task allDeps(type: DependencyReportTask) {}
}