blob: 34009dc5940a3378e7ba958d32503d80dc21ee63 [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'])
compile 'com.google.guava:guava:19.0'
testCompile 'junit:junit:4.11'
androidTestCompile 'com.android.support.test:runner:1.0.2'
androidTestUtil 'com.android.support.test:orchestrator:1.0.0'
}