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: 'gingerbreadCompatRelease') 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-annotations': 'androidx.annotation:annotation:1.0.0-alpha1', 30 'support-appcompat-v7': 'androidx.appcompat:appcompat:1.0.0-alpha1', 31 'support-recyclerview-v7': 'androidx.recyclerview:recyclerview:1.0.0-alpha1' 32 ] 33} 34 35apply from: 'rules.gradle' 36