-
Notifications
You must be signed in to change notification settings - Fork 15
/
build.gradle
49 lines (41 loc) · 1.04 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
plugins {
id 'com.github.ben-manes.versions' version '0.20.0'
id "com.jfrog.artifactory" version "4.7.5"
id "com.jfrog.bintray" version "1.8.4"
}
apply plugin: 'idea'
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'osgi'
apply plugin: 'jacoco'
apply plugin: 'maven-publish'
apply from: "publishing.gradle"
group = 'io.springfox'
description = "springfox-javadoc"
sourceCompatibility = 1.6
targetCompatibility = 1.6
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
options.deprecation = true
options.compilerArgs += ["-Xlint:unchecked", "-parameters"]
}
repositories {
jcenter()
mavenCentral()
}
dependencies {
compile 'io.springfox:springfox-swagger2:2.9.2'
compile 'org.springframework:spring-webmvc:4.3.18.RELEASE'
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:2.21.0'
compile files("${System.getProperty('java.home')}/../lib/tools.jar")
}
jacoco {
toolVersion = "0.8.1"
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled true
}
}