-
Notifications
You must be signed in to change notification settings - Fork 22
/
build.gradle
67 lines (59 loc) · 1.33 KB
/
build.gradle
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
}
}
apply plugin: 'com.android.library'
repositories {
jcenter()
google()
}
dependencies {
implementation 'com.android.support:support-v4:18.0.+'
}
android {
compileSdkVersion 27
defaultConfig {
targetSdkVersion 26
minSdkVersion = 8
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
}
buildTypes {
release {
minifyEnabled true
proguardFiles 'proguard.cfg'
zipAlignEnabled true
}
fix {
minifyEnabled true
proguardFiles 'proguard.cfg'
zipAlignEnabled true
}
}
flavorDimensions "version"
productFlavors {
floss {
// FLOSS build (no proprietary libraries)
dimension "version"
}
google {
// FLOSS build + Google libraries
// Adds ChromeCast support
dimension "version"
}
}
}