| apply plugin: 'com.android.application' |
| |
| android { |
| compileSdkVersion 19 |
| buildToolsVersion "19.0.1" |
| |
| defaultConfig { |
| minSdkVersion 8 |
| targetSdkVersion 19 |
| versionCode 1 |
| versionName "1.0" |
| } |
| buildTypes { |
| release { |
| minifyEnabled false |
| proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' |
| } |
| } |
| productFlavors { |
| basic { |
| packageName "com.example.projectwithappandlib.app" |
| } |
| paid { |
| packageName "com.example.projectwithappandlib.app.paid" |
| assets.srcDirs = ['paid-assets'] |
| manifest.srcFile 'src/paid/AndroidManifest.xml' |
| } |
| } |
| } |
| |
| dependencies { |
| compile fileTree(dir: 'libs', include: ['*.jar']) |
| compile('com.google.maps.android:android-maps-utils:0.3.+') { |
| exclude group: 'com.google.android.gms' |
| } |
| compile 'com.android.support:appcompat-v7:+' |
| compile project(path: '${serverModulePath}', configuration: 'android-endpoints') |
| } |