blob: 7b2112527af76936e879ae66f24f0c7c3b784134 [file] [log] [blame]
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "com.android.tools.tests.layout"
minSdkVersion 9
targetSdkVersion 22
versionCode 1
versionName "1.0"
resValue "string", "dynamic_string1", "String 1 defined only by defaultConfig"
resValue "string", "dynamic_string2", "@string/dynamic_string1"
resValue "string", "dynamic_string3", "String 3 defined by defaultConfig"
resValue "string", "dynamic_string4", "String 4 defined by defaultConfig"
resValue "string", "dynamic_string5", "String 5 defined by defaultConfig"
resValue "dimen", "dynamic_padding", "20dp"
}
productFlavors {
pro {
resValue "string", "dynamic_string3", "String 3 defined by flavor pro"
resValue "string", "dynamic_string4", "String 4 defined by flavor pro"
}
free {
resValue "string", "dynamic_string3", "String 3 defined by flavor free"
resValue "string", "dynamic_string4", "String 4 defined by flavor free"
}
}
buildTypes {
debug {
resValue "string", "dynamic_string3", "String 3 defined by build type debug"
resValue "string", "dynamic_string5", "String 5 defined by build type debug"
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.1.1'
}