-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
133 lines (111 loc) · 3.65 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
133
plugins {
id "org.springframework.boot" version "2.2.8.RELEASE"
id "io.spring.dependency-management" version "1.0.9.RELEASE"
id 'eclipse'
id 'idea'
id 'maven'
}
allprojects {
repositories {
maven {
url "http://maven.aliyun.com/nexus/content/groups/public/"
}
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
maven { url "https://dl.bintray.com/ethereum/maven/" }
mavenLocal()
jcenter()
}
}
subprojects {
version = "1.3.1"
apply plugin: "java"
apply plugin: "org.springframework.boot"
apply plugin: "io.spring.dependency-management"
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
def defaultEncoding = 'UTF-8'
tasks.withType(AbstractCompile).each { it.options.encoding = defaultEncoding }
javadoc {
options.encoding = defaultEncoding
options.addBooleanOption('Xdoclint:none', true)
}
compileJava.dependsOn(processResources)
springBoot {
buildInfo()
}
dependencyManagement {
imports {
mavenBom org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES
}
}
test {
useJUnitPlatform()
}
dependencies {
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
compileOnly "org.springframework.boot:spring-boot-configuration-processor"
implementation "org.springframework.boot:spring-boot-starter-web"
implementation "org.springframework.boot:spring-boot-starter-aop"
compile 'cn.hutool:hutool-all:5.3.7'
// web3j依赖
implementation ('org.fisco-bcos:web3sdk:2.4.2')
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
}
}
project(':WeBASE-Collect-Bee-core') {
dependencies {
implementation project(':WeBASE-Collect-Bee-parser')
implementation project(':WeBASE-Collect-Bee-common')
implementation project(':WeBASE-Collect-Bee-db')
implementation project(':WeBASE-Collect-Bee-extractor')
implementation "io.springfox:springfox-swagger2:2.9.2"
implementation "io.springfox:springfox-swagger-ui:2.9.2"
implementation('com.ibeetl:beetl:2.9.3')
implementation "org.springframework.boot:spring-boot-starter-data-jpa"
implementation 'mysql:mysql-connector-java'
implementation('org.apache.shardingsphere:sharding-jdbc-spring-boot-starter:4.0.1')
// elastic-job
implementation('com.dangdang:elastic-job-lite-core:2.1.5')
{
exclude group: 'log4j'
}
implementation('com.dangdang:elastic-job-lite-spring:2.1.5')
{
exclude group: 'log4j'
}
}
}
project(':WeBASE-Collect-Bee-extractor') {
dependencies {
implementation project(':WeBASE-Collect-Bee-common')
}
}
project(':WeBASE-Collect-Bee-parser') {
dependencies {
implementation project(':WeBASE-Collect-Bee-extractor')
implementation project(':WeBASE-Collect-Bee-common')
}
}
project(':WeBASE-Collect-Bee-db') {
dependencies {
implementation project(':WeBASE-Collect-Bee-extractor')
implementation project(':WeBASE-Collect-Bee-common')
implementation project(':WeBASE-Collect-Bee-parser')
implementation "org.springframework.boot:spring-boot-starter-data-jpa"
implementation 'mysql:mysql-connector-java'
implementation('org.apache.shardingsphere:sharding-jdbc-spring-boot-starter:4.0.1')
}
}
configurations {
all {
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
}
wrapper {
gradleVersion = "5.4.1"
}