-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathbuild.gradle
More file actions
40 lines (33 loc) · 870 Bytes
/
build.gradle
File metadata and controls
40 lines (33 loc) · 870 Bytes
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
group 'com.karumi.'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'checkstyle'
sourceCompatibility = 1.7
repositories {
mavenCentral()
}
sourceSets {
test {
resources {
srcDir 'src/test/resources'
}
}
}
dependencies {
compile 'com.squareup.okhttp3:okhttp:3.12.1'
compile 'com.squareup.retrofit2:retrofit:2.5.0'
compile 'com.squareup.retrofit2:converter-gson:2.5.0'
compile 'com.google.code.gson:gson:2.8.5'
compile 'com.squareup.okio:okio:2.2.1'
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-all:1.10.19'
testCompile 'com.squareup.okhttp3:mockwebserver:3.12.1'
testCompile 'commons-io:commons-io:2.6'
}
task checkstyle(type: Checkstyle) {
configFile file("${project.rootDir}/config/checkstyle/checkstyle.xml")
source 'src'
include '**/*.java'
exclude '**/gen/**'
classpath = files()
}