blob: 3b1a5597596934e6568814d7b8ed93e9db79a014 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
//
// 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
buildToolsVersion "1.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
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'
}
}
|