• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/**
2 * *** THIS FILE IS DEPRECATED ***
3 *
4 * Most apps should be building against the internal maven prebuilts for support libs and therefore
5 * use standalone-rules.gradle instead.
6 *
7 * Build the file with local dependencies. The difference between this and standalone.gradle is that
8 * this will build the dependencies like support libraries from source, whereas standalone.gradle
9 * will get it from maven central.
10 *
11 * For example, you can include the following in your settings.gradle file:
12 *      include ':setup-wizard-lib'
13 *      project(':setup-wizard-lib').projectDir = new File(PATH_TO_THIS_DIRECTORY)
14 *
15 * And then you can include the :setup-wizard-lib project as one of your dependencies
16 *      dependencies {
17 *          compile project(path: ':setup-wizard-lib', configuration: 'gingerbreadCompatRelease')
18 *      }
19 */
20
21ext {
22    // For builds in the Android tree we want to build the dependencies from source for reproducible
23    // builds. To add a dependency, you want to specify something like this:
24    //      ext {
25    //          deps = ['project-name': project(':project-path')]
26    //      }
27    //
28    // And then in rules.gradle you can reference the dependency by
29    //      dependencies {
30    //          compile deps['project-name']
31    //      }
32    //
33    deps = [
34        'support-annotations': project(':support-annotations'),
35        'support-appcompat-v7': project(':support-appcompat-v7'),
36        'support-recyclerview-v7': project(':support-recyclerview-v7')
37    ]
38}
39
40apply from: 'rules.gradle'
41