Home | History | Annotate | Download | only in volley
      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 //
      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'
     16 
     17 buildscript {
     18     repositories {
     19         jcenter()
     20     }
     21     dependencies {
     22         classpath 'com.android.tools.build:gradle:2.2.3'
     23     }
     24 }
     25 
     26 apply plugin: 'com.android.library'
     27 
     28 repositories {
     29     jcenter()
     30 }
     31 
     32 android {
     33     compileSdkVersion 25
     34     buildToolsVersion = '25.0.2'
     35 }
     36 
     37 apply from: 'rules.gradle'
     38 apply from: 'bintray.gradle'
     39