-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
55 lines (42 loc) · 1.13 KB
/
build.gradle
File metadata and controls
55 lines (42 loc) · 1.13 KB
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
group 'org.openstack'
version '1.0-SNAPSHOT'
apply plugin: 'java'
sourceCompatibility = 1.8
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
}
allprojects {
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
jcenter()
mavenCentral()
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
dependencies {
// compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.11.3'
"com.fasterxml.jackson.core:jackson-databind:2.11.3"
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: "idea"
ext {
junitVersion = "4.12"
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
dependencies {
// compile(
// "com.fasterxml.jackson.core:jackson-databind:2.11.3"
// )
testCompile("junit:junit:${junitVersion}")
}
}