1apply plugin: 'android-library' 2 3archivesBaseName = 'gridlayout-v7' 4 5dependencies { 6 compile project(':support-v4') 7} 8 9android { 10 compileSdkVersion 'current' 11 12 sourceSets { 13 main.manifest.srcFile 'AndroidManifest.xml' 14 main.java.srcDir 'src' 15 main.res.srcDir 'res' 16 main.assets.srcDir 'assets' 17 main.resources.srcDir 'src' 18 19 // this moves src/instrumentTest to tests so all folders follow: 20 // tests/java, tests/res, tests/assets, ... 21 // This is a *reset* so it replaces the default paths 22 androidTest.setRoot('tests') 23 androidTest.java.srcDir 'tests/src' 24 } 25 26 lintOptions { 27 // TODO: fix errors and reenable. 28 abortOnError false 29 } 30} 31