Home | History | Annotate | Download | only in library
      1 /**
      2  * Build the file with local dependencies. This is typically the build file you want to use when
      3  * building from the Android source tree. The difference between this and standalone.gradle is that
      4  * this will build the dependencies like support libraries from source, whereas standalone.gradle
      5  * will get it from maven central.
      6  *
      7  * For example, you can include the following in your settings.gradle file:
      8  *      include ':setup-wizard-lib'
      9  *      project(':setup-wizard-lib').projectDir = new File(PATH_TO_THIS_DIRECTORY)
     10  *
     11  * And then you can include the :setup-wizard-lib project as one of your dependencies
     12  *      dependencies {
     13  *          compile project(path: ':setup-wizard-lib', configuration: 'icsCompatRelease')
     14  *      }
     15  */
     16 
     17 ext {
     18     // For builds in the Android tree we want to build the dependencies from source for reproducible
     19     // builds. To add a dependency, you want to specify something like this:
     20     //      ext {
     21     //          deps = ['project-name': project(':project-path')]
     22     //      }
     23     //
     24     // And then in rules.gradle you can reference the dependency by
     25     //      dependencies {
     26     //          compile deps['project-name']
     27     //      }
     28     //
     29     deps = [
     30         'support-appcompat-v7': project(':support-appcompat-v7'),
     31         'support-recyclerview-v7': project(':support-recyclerview-v7')
     32     ]
     33 }
     34 
     35 apply from: 'rules.gradle'
     36