blob: 9f973c12d19fcadac74dfd7af423f8c09a4e1ff4 [file] [log] [blame]
Jeff Davidson40d00112014-12-08 14:16:59 -08001// NOTE: The only changes that belong in this file are the definitions
2// of tool versions (gradle plugin, compile SDK, build tools), so that
3// Volley can be built via gradle as a standalone project.
4//
5// Any other changes to the build config belong in rules.gradle, which
6// is used by projects that depend on Volley but define their own
7// tools versions across all dependencies to ensure a consistent build.
Michal Bendowskiab60b7c2015-06-09 17:34:36 +01008//
9// Most users should just add this line to settings.gradle:
10// include(":volley")
11//
12// If you have a more complicated Gradle setup you can choose to use
13// this instead:
14// include(":volley")
15// project(':volley').buildFileName = 'rules.gradle'
Jeff Davidson40d00112014-12-08 14:16:59 -080016
Ficus Kirkpatrick4e820152014-02-08 13:31:24 -080017buildscript {
18 repositories {
Michal Bendowskiab60b7c2015-06-09 17:34:36 +010019 jcenter()
Ficus Kirkpatrick4e820152014-02-08 13:31:24 -080020 }
21 dependencies {
Michal Bendowski4a2a7f32015-06-11 11:18:48 +010022 classpath 'com.android.tools.build:gradle:1.3.1'
Ficus Kirkpatrick4e820152014-02-08 13:31:24 -080023 }
24}
25
Jeff Davidsonb433afb2014-11-23 12:13:39 -080026apply plugin: 'com.android.library'
Jeff Davidson76869372014-06-09 10:13:43 -070027
Michal Bendowski4a2a7f32015-06-11 11:18:48 +010028repositories {
29 jcenter()
30}
31
Jeff Davidson76869372014-06-09 10:13:43 -070032android {
Michal Bendowskiab60b7c2015-06-09 17:34:36 +010033 compileSdkVersion 22
34 buildToolsVersion = '22.0.1'
Jeff Davidson76869372014-06-09 10:13:43 -070035}
36
Jeff Davidson40d00112014-12-08 14:16:59 -080037apply from: 'rules.gradle'