standalone-rules.gradle revision 24f1d0b9512dfc20bb1814a4e63f976a59f3ad99
1/**
2 * Include this gradle file if you are building against this as a standalone gradle library project,
3 * but are defining the compile SDK version and build tools version at the top-level.
4 *
5 * For example, you can include the following in your settings.gradle file:
6 *      include ':setup-wizard-lib'
7 *      project(':setup-wizard-lib').projectDir = new File(PATH_TO_THIS_DIRECTORY)
8 *      project(':setup-wizard-lib').buildFileName = 'standalone-rules.gradle'
9 *
10 * And then you can include the :setup-wizard-lib project as one of your dependencies
11 *      dependencies {
12 *          compile project(path: ':setup-wizard-lib', configuration: 'icsCompatRelease')
13 *      }
14 */
15
16ext {
17    // For standalone project clients, since the source may not be available, we fetch the
18    // dependencies from maven. To add a dependency, you want to specify something like this:
19    //      ext {
20    //          deps = ['project-name': 'com.example.group:project-name:1.0.0']
21    //      }
22    //
23    // And then in rules.gradle you can reference the dependency by
24    //      dependencies {
25    //          compile deps['project-name']
26    //      }
27    //
28    deps = [
29        'support-appcompat-v7': 'com.android.support:appcompat-v7:22.2.1',
30        'support-recyclerview-v7': 'com.android.support:recyclerview-v7:22.2.1'
31    ]
32}
33
34apply from: 'rules.gradle'
35