-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
48 lines (43 loc) · 1.69 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
repositories {
jcenter()
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.flywaydb:flyway-gradle-plugin:3.2.1'
classpath 'org.akhikhl.gretty:gretty:+'
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'war'
apply plugin: 'org.flywaydb.flyway'
apply plugin: 'org.akhikhl.gretty'
dependencies {
compile 'mysql:mysql-connector-java:5.1.37'
compile 'org.mybatis:mybatis:3.3.0'
compile 'javax.servlet:javax.servlet-api:3.1.0'
compile 'org.glassfish.jersey:project:2.22.1'
compile 'org.glassfish.jersey.media:jersey-media-json-jackson:2.22.1'
compile 'org.glassfish.jersey.core:jersey-server:2.22.1'
compile 'org.glassfish.jersey.containers:jersey-container-servlet:2.22.1'
compile 'org.apache.logging.log4j:log4j-api:2.5'
compile 'org.apache.logging.log4j:log4j-core:2.5'
compile 'com.google.code.gson:gson:2.5'
compile 'org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4:1.16'
compile 'com.wordnik:swagger-core_2.10:1.3.13'
compile 'io.swagger:swagger-jersey2-jaxrs:1.5.7'
compile 'org.webjars:swagger-ui:2.1.4'
compile 'com.mchange:c3p0:0.9.5.2'
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-all:1.10.19'
testCompile 'org.hamcrest:hamcrest-all:1.3'
testCompile 'org.glassfish.jersey.test-framework.providers:jersey-test-framework-provider-grizzly2:2.22.1'
testCompile 'org.flywaydb:flyway-core:3.2.1'
}
task createCoberturaReport(type: Exec) {
executable "bash"
args "-c", "mkdir ./build/reports/cobertura && ./tools/cover2cover.py ./build/reports/jacoco/test/jacocoTestReport.xml src/main/java > ./build/reports/cobertura/coverage.xml"
}