1 apply plugin: 'android-library'
4 compile fileTree(include: '*.jar', dir: 'libs')
9 buildToolsVersion "21.1.2"
11 sourceCompatibility JavaVersion.VERSION_1_7
12 targetCompatibility JavaVersion.VERSION_1_7
16 manifest.srcFile 'AndroidManifest.xml'
17 java.srcDirs = ['src']
18 resources.srcDirs = ['src']
19 aidl.srcDirs = ['src']
20 renderscript.srcDirs = ['src']
22 assets.srcDirs = ['assets']
25 // Move the tests to tests/java, tests/res, etc...
26 instrumentTest.setRoot('tests')
28 // Move the build types to build-types/<type>
29 // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
30 // This moves them out of them default location under src/<type>/... which would
31 // conflict with src/ being used by the main source set.
32 // Adding new build types or product flavors should be accompanied
33 // by a similar customization.
34 debug.setRoot('build-types/debug')
35 release.setRoot('build-types/release')