forked from kartaview/android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·55 lines (49 loc) · 1.33 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
50
51
52
53
54
55
// NOTE: The only changes that belong in this file are the definitions
// of tool versions (gradle plugin, compile SDK, build tools), so that
// Volley can be built via gradle as a standalone project.
//
// Any other changes to the build config belong in rules.gradle, which
// is used by projects that depend on Volley but define their own
// tools versions across all dependencies to ensure a consistent build.
//
// Most users should just add this line to settings.gradle:
// include(":volley")
//
// If you have a more complicated Gradle setup you can choose to use
// this instead:
// include(":volley")
// project(':volley').buildFileName = 'rules.gradle'
buildscript {
repositories {
jcenter()
}
}
apply plugin: 'com.android.library'
repositories {
jcenter()
}
android {
compileSdkVersion 24
buildToolsVersion = '25.0.2'
buildTypes {
release {
debuggable false
}
debug {
debuggable true
}
}
configurations {
compile.exclude group: 'org.apache.commons'
compile.exclude module: 'commons'
}
}
dependencies {
compile files('src/main/libs/org.apache.http.legacy.jar')
}
ext {
PUBLISH_GROUP_ID = 'com.android.volley'
PUBLISH_ARTIFACT_ID = 'volley-osc'
PUBLISH_VERSION = '1.0.1'
}
apply from: 'buildRelease.gradle'