61 lines
1.3 KiB
Groovy
Vendored
61 lines
1.3 KiB
Groovy
Vendored
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:0.5.+'
|
|
}
|
|
}
|
|
apply plugin: 'android'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
compile 'com.android.support:support-v4:13.0.0'
|
|
debugCompile 'com.android.support:support-v13:13.0.0'
|
|
|
|
compile 'com.google.android.gms:play-services:3.1.36'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 15
|
|
buildToolsVersion "17.0"
|
|
|
|
testBuildType "debug"
|
|
|
|
signingConfigs {
|
|
myConfig {
|
|
storeFile file("debug.keystore")
|
|
storePassword "android"
|
|
keyAlias "androiddebugkey"
|
|
keyPassword "android"
|
|
}
|
|
}
|
|
|
|
defaultConfig {
|
|
versionCode 12
|
|
versionName "2.0"
|
|
minSdkVersion 16
|
|
targetSdkVersion 16
|
|
|
|
buildConfig "private final static boolean DEFAULT = true;", \
|
|
"private final static String FOO = \"foo\";"
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
packageNameSuffix ".debug"
|
|
signingConfig signingConfigs.myConfig
|
|
|
|
buildConfig "private final static boolean DEBUG2 = false;"
|
|
}
|
|
}
|
|
|
|
aaptOptions {
|
|
noCompress 'txt'
|
|
ignoreAssetsPattern "!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"
|
|
}
|
|
}
|