// // A basic Android application that follows all the conventions // buildscript { repositories { maven { url '../../repo' } maven { url '../../../../prebuilts/tools/common/m2/repository' } } dependencies { classpath 'com.android.tools.build:gradle:0.4-SNAPSHOT' } } apply plugin: 'android' android { compileSdkVersion 15 testBuildType "debug" signingConfigs { myConfig { storeFile file("debug.keystore") storePassword "android" keyAlias "androiddebugkey" keyPassword "android" } } defaultConfig { versionCode 12 versionName "2.0" minSdkVersion 16 targetSdkVersion 16 signingConfig signingConfigs.myConfig buildConfig "private final static boolean DEFAULT = true;", \ "private final static String FOO = \"foo\";" } buildTypes { debug { packageNameSuffix ".debug" buildConfig "private final static boolean DEBUG2 = false;" } } aaptOptions { noCompress 'txt' } }