forked from mapbox/mapbox-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
46 lines (36 loc) · 1004 Bytes
/
build.gradle
File metadata and controls
46 lines (36 loc) · 1004 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
41
42
43
44
45
46
apply plugin: 'java-library'
//apply plugin: 'de.fuerstenau.buildconfig'
configurations {
testOutput
}
//buildConfig {
// packageName = 'com.mapbox.services'
// version = project.VERSION_NAME
// buildConfigField 'String', 'GIT_REVISION', getGitRevision()
//}
//
//static def getGitRevision() {
// def cmd = "git rev-parse --short HEAD"
// def proc = cmd.execute()
// def ref = proc.text.trim()
// return ref
//}
dependencies {
// Gson
compile dependenciesList.gson
// Retrofit
compile dependenciesList.retrofit
compile dependenciesList.retrofit2Gson
// Annotations
compileOnly dependenciesList.supportAnnotation
// OkHttp
compile dependenciesList.okhttp3Logging
// AutoValue
compileOnly dependenciesList.autoValue
compileOnly dependenciesList.autoValueGson
// Test Dependencies
testOutput sourceSets.test.output
}
apply from: "${rootDir}/gradle/checkstyle.gradle"
apply from: "${rootDir}/gradle/jacoco.gradle"
apply from: "${rootDir}/gradle/mvn-push.gradle"