-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (42 loc) · 1.49 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
plugins {
id 'org.springframework.boot' version '1.5.1.RELEASE'
id 'org.sonarqube' version '2.2.1'
}
group 'com.marclucchini'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'checkstyle'
apply plugin: 'pmd'
apply plugin: 'jacoco'
allprojects {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile group: 'edu.uci.ics', name: 'crawler4j', version: '4.2'
compile group: 'io.searchbox', name: 'jest', version: '2.0.4'
compile group: 'io.springfox', name:'springfox-swagger2', version: '2.4.0'
compile group: 'io.springfox', name:'springfox-swagger-ui', version: '2.4.0'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.5'
compile group: 'org.apache.logging.log4j', name: 'log4j-to-slf4j', version: '2.7'
compile group: 'org.elasticsearch.client', name: 'transport', version: '5.2.0'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: '1.5.1.RELEASE'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.springframework.boot', name: 'spring-boot-starter-test', version: '1.5.1.RELEASE'
}
checkstyle {
toolVersion = '7.5.1'
configFile rootProject.file('checkstyle.xml')
}
pmd {
toolVersion = '5.5.3'
ruleSetFiles = files("ruleset.xml")
}
jacocoTestReport.reports.xml.enabled true
test.finalizedBy(jacocoTestReport)
task stage(dependsOn: ['clean', 'build'])
build.mustRunAfter clean