Jeff Davidson | 40d0011 | 2014-12-08 14:16:59 -0800 | [diff] [blame] | 1 | // 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. |
| 8 | |
Ficus Kirkpatrick | 4e82015 | 2014-02-08 13:31:24 -0800 | [diff] [blame] | 9 | buildscript { |
| 10 | repositories { |
| 11 | mavenCentral() |
| 12 | } |
| 13 | dependencies { |
Jeff Davidson | b433afb | 2014-11-23 12:13:39 -0800 | [diff] [blame] | 14 | classpath 'com.android.tools.build:gradle:0.14.+' |
Ficus Kirkpatrick | 4e82015 | 2014-02-08 13:31:24 -0800 | [diff] [blame] | 15 | } |
| 16 | } |
| 17 | |
Jeff Davidson | b433afb | 2014-11-23 12:13:39 -0800 | [diff] [blame] | 18 | apply plugin: 'com.android.library' |
Jeff Davidson | 7686937 | 2014-06-09 10:13:43 -0700 | [diff] [blame] | 19 | |
| 20 | android { |
| 21 | compileSdkVersion 19 |
Ficus Kirkpatrick | b9b8dc3 | 2014-11-29 09:32:54 -0800 | [diff] [blame] | 22 | buildToolsVersion = '21.1.0' |
Jeff Davidson | 7686937 | 2014-06-09 10:13:43 -0700 | [diff] [blame] | 23 | } |
| 24 | |
Jeff Davidson | 40d0011 | 2014-12-08 14:16:59 -0800 | [diff] [blame] | 25 | apply from: 'rules.gradle' |