-
Notifications
You must be signed in to change notification settings - Fork 70
/
build.gradle
164 lines (133 loc) · 4.4 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
buildscript {
ext {
springBootVersion = '1.5.1.RELEASE'
springfoxVersion = '2.6.0'
springVersion = '4.3.6.RELEASE'
}
repositories {
mavenCentral()
// jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
// maven { url 'http://repo.spring.io/plugins-release' }
}
dependencies {
// classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
// classpath 'org.springframework.build.gradle:propdeps-plugin:0.0.7'
// classpath("io.spring.gradle:dependency-management-plugin:1.0.2.RELEASE")
classpath("com.github.ksoichiro:gradle-build-info-plugin:0.2.0")
classpath 'net.researchgate:gradle-release:2.4.0'
classpath "me.champeau.gradle:jmh-gradle-plugin:0.4.5"
}
}
allprojects {
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'maven'
group = 'com.github.xiaoyao9184'
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven{
url 'http://maven.aliyun.com/mvn/repository/'
}
flatDir {
dirs "$rootProject.projectDir/libs"
}
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0,'seconds'
}
}
project(':stream-reader') {
// group 'com.xy.stream'
version "${version}"
apply plugin: 'java'
apply plugin: 'maven-publish'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
//Test
testCompile group: 'junit', name: 'junit', version: '4.12'
}
}
project(':segment-parser') {
// group 'com.xy.format'
version "${version}"
apply plugin: 'java'
apply plugin: 'maven-publish'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile project(':stream-reader')
//Test
testCompile group: 'junit', name: 'junit', version: '4.12'
}
}
project(':hj-t212-parser') {
// group 'com.xy.format'
version "${version}"
apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: "me.champeau.gradle.jmh"
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile project(':segment-parser')
//JSON
compile group: 'javax.json.bind', name: 'javax.json.bind-api', version: '1.0'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.9.3'
compile group: 'org.eclipse', name: 'yasson', version: '1.0.1'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.3'
//Validation
compile group: 'javax.validation', name: 'validation-api', version: '2.0.0.Final'
//OAI
compile group: 'io.swagger', name: 'swagger-annotations', version: '1.5.10'
//Test
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile 'org.reflections:reflections:0.9.11'
testCompile 'ch.qos.logback:logback-core:1.2.3'
testCompile 'ch.qos.logback:logback-classic:1.2.3'
testCompile 'org.hibernate.validator:hibernate-validator:6.0.2.Final'
testCompile 'javax.el:javax.el-api:2.2.4'
testCompile 'org.glassfish.web:javax.el:2.2.4'
testCompile 'org.reflections:reflections:0.9.11'
testCompile 'org.openjdk.jmh:jmh-core:1.15'
testCompile 'org.openjdk.jmh:jmh-generator-annprocess:1.15'
//JMH
jmh 'org.openjdk.jmh:jmh-core:1.15'
jmh 'org.openjdk.jmh:jmh-generator-annprocess:1.15'
jmh 'org.reflections:reflections:0.9.11'
jmh 'ch.qos.logback:logback-core:1.2.3'
jmh 'ch.qos.logback:logback-classic:1.2.3'
}
}
project(':hj-t212-translator') {
// group 'com.xy.format'
version "${version}"
apply plugin: 'java'
apply plugin: 'maven-publish'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
//Test
testCompile group: 'junit', name: 'junit', version: '4.12'
}
}