-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
82 lines (63 loc) · 2.09 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
plugins {
id "io.spring.dependency-management" version "0.6.1.RELEASE"
id "com.github.johnrengelman.shadow" version "1.2.4"
}
dependencyManagement {
imports {
mavenBom 'com.amazonaws:aws-java-sdk-bom:1.10.47'
}
}
repositories {
mavenLocal()
maven { }
}
subprojects {
group 'au.com.agic'
version '2.0.0'
apply plugin: 'checkstyle'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: "com.github.johnrengelman.shadow"
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
// http://mvnrepository.com/artifact/org.wildfly.core/wildfly-controller-client
compile group: 'org.wildfly.core', name: 'wildfly-controller-client', version: '2.2.0.CR2'
// http://mvnrepository.com/artifact/org.wildfly.core/wildfly-cli
compile group: 'org.wildfly.core', name: 'wildfly-cli', version: '2.2.0.CR2'
// http://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk
compile group: 'com.amazonaws', name: 'aws-java-sdk', version: '1.10.47'
// http://mvnrepository.com/artifact/com.google.guava/guava
compile group: 'com.google.guava', name: 'guava', version: '19.0'
// http://mvnrepository.com/artifact/commons-codec/commons-codec
compile group: 'commons-codec', name: 'commons-codec', version: '1.4'
// http://mvnrepository.com/artifact/commons-io/commons-io
compile group: 'commons-io', name: 'commons-io', version: '2.5'
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.4'
// https://mvnrepository.com/artifact/junit/junit
testCompile group: 'junit', name: 'junit', version: '4.12'
}
checkstyle {
toolVersion = '6.18'
configFile = rootProject.file("${rootProject.projectDir}/checkstyle.xml");
showViolations = true
ignoreFailures = false
}
shadowJar {
classifier = null
version = null
}
tasks.withType(Checkstyle) {
ignoreFailures = false
reports {
html.destination rootProject.file("${buildDir}/reports/checkstyle.html")
}
}
task wrapper(type: Wrapper) {
gradleVersion = '3.2.1'
}
}