blob: ba90b5d13fab49586e781fe0e8b2ae9f4a1a8943 [file] [log] [blame]
apply plugin: 'com.android.application'
android {
compileSdkVersion 19
buildToolsVersion "19.0.1"
defaultConfig {
minSdkVersion 9
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 {
// Make sure the dependency below has an explicit older version (merging with newer version should result in the existing base version)
compile 'com.android.support:appcompat-v7:23.1.1'
// TODO: Include *.aar once it's supported in the plugin
compile fileTree(dir: 'libs', include: ['*.jar'])
}