| apply plugin: 'com.android.library' |
| |
| archivesBaseName = 'recommendation' |
| |
| dependencies { |
| compile project(':support-v4') |
| } |
| |
| android { |
| compileSdkVersion project.ext.currentSdk |
| |
| defaultConfig { |
| minSdkVersion 21 |
| } |
| |
| sourceSets { |
| main.manifest.srcFile 'AndroidManifest.xml' |
| main.java.srcDirs = ['src'] |
| main.res.srcDir 'res' |
| main.assets.srcDir 'assets' |
| main.resources.srcDir 'src' |
| |
| // this moves src/instrumentTest to tests so all folders follow: |
| // tests/java, tests/res, tests/assets, ... |
| // This is a *reset* so it replaces the default paths |
| androidTest.setRoot('tests') |
| androidTest.java.srcDir 'tests/src' |
| } |
| |
| compileOptions { |
| sourceCompatibility JavaVersion.VERSION_1_7 |
| targetCompatibility JavaVersion.VERSION_1_7 |
| } |
| } |