-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.gradle
More file actions
29 lines (25 loc) · 927 Bytes
/
build.gradle
File metadata and controls
29 lines (25 loc) · 927 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
/*
* This build file was auto generated by running the Gradle 'init' task
* by 'jexhuang' at '2017/6/13 下午 2:54' with Gradle 2.14.1
*
* This generated file contains a sample Java project to get you started.
* For more details take a look at the Java Quickstart chapter in the Gradle
* user guide available at https://docs.gradle.org/2.14.1/userguide/tutorial_java_projects.html
*/
apply plugin: 'java'
sourceCompatibility = 1.7 // jdk
repositories {
jcenter()
}
// In this section you declare the dependencies for your production and test code
dependencies {
testCompile 'junit:junit:4.12'
compile group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.2.0'
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.0'
compile group: 'com.google.guava', name: 'guava', version: '19.0'
}
jar {
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}