-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
132 lines (123 loc) · 4.11 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
buildscript {
repositories {
jcenter()
maven { url 'https://maven.fabric.io/public' }
maven { url "https://jitpack.io" }
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.2'
classpath 'io.fabric.tools:gradle:1.+'
}
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
apply from: 'config/quality.gradle'
Properties props = new Properties()
props.load(new FileInputStream("version.properties"))
repositories {
jcenter()
maven { url 'https://maven.fabric.io/public' }
}
android {
compileSdkVersion 24
buildToolsVersion '27.0.3'
useLibrary 'org.apache.http.legacy'
lintOptions {
checkReleaseBuilds false
abortOnError false
}
defaultConfig {
minSdkVersion 15
targetSdkVersion 24
applicationId 'com.lfdb.zuptecnico'
multiDexEnabled true
versionCode 10001
versionName '1.0.1'
buildConfigField 'boolean', 'CASE_ENABLED', 'false'
buildConfigField 'boolean', 'REPORT_ENABLED', 'true'
buildConfigField 'boolean', 'INVENTORY_ENABLED', 'true'
}
productFlavors {
zup {
minSdkVersion 23
applicationIdSuffix '.zup'
targetSdkVersion 24
versionCode 10000
versionName '1.0.0'
}
vcsbc {
minSdkVersion 23
applicationIdSuffix '.vcsbc'
targetSdkVersion 24
versionCode 10000
versionName '1.0.0'
}
particity {
minSdkVersion 23
applicationIdSuffix '.particity'
targetSdkVersion 24
versionCode 10104
versionName '1.1.4'
}
}
sourceSets {
zup {
manifest.srcFile 'src/main/AndroidManifest.xml'
java.srcDirs = ['src/zup/java', 'build/generated/source/apt/${variant.dirName}']
}
vcsbc {
manifest.srcFile 'src/main/AndroidManifest.xml'
java.srcDirs = ['src/vcsbc/java', 'build/generated/source/apt/${variant.dirName}']
resources.srcDirs = ['src/vcsbc/res']
res.srcDirs = ['src/vcsbc/res']
assets.srcDirs = ['src/vcsbc/assets']
}
particity {
manifest.srcFile 'src/main/AndroidManifest.xml'
java.srcDirs = ['src/particity/java', 'build/generated/source/apt/${variant.dirName}']
resources.srcDirs = ['src/particity/res']
res.srcDirs = ['src/particity/res']
assets.srcDirs = ['src/particity/assets']
}
}
buildTypes {
release {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
packagingOptions {
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
}
}
repositories {
maven { url "https://maven.google.com" }
}
dependencies {
compile 'com.fasterxml.jackson.core:jackson-databind:2.5.4'
compile('com.squareup.retrofit:retrofit:1.9.0') {
exclude module: 'gson'
}
compile 'com.obsez.android.lib.filechooser:filechooser:1.1.2'
compile('com.crashlytics.sdk.android:crashlytics:2.6.8@aar') {
transitive = true;
}
testCompile 'junit:junit:4.12'
compile 'com.google.android.gms:play-services-maps:9.4.0'
compile 'com.google.android.gms:play-services-location:9.4.0'
compile 'com.github.traex.rippleeffect:library:1.3'
compile 'com.android.support:support-v4:24.2.0'
compile 'com.android.support:appcompat-v7:24.2.0'
compile 'com.android.support:recyclerview-v7:24.2.0'
compile 'com.android.support:design:24.2.0'
compile 'com.android.support:cardview-v7:24.2.0'
compile 'com.snappydb:snappydb-lib:0.5.2'
compile 'com.esotericsoftware.kryo:kryo:2.24.0'
compile 'com.squareup.retrofit:converter-jackson:1.9.0'
compile 'com.squareup.okhttp:okhttp:2.4.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.appyvet:materialrangebar:1'
compile 'com.kbeanie:multipicker:1.0.10@aar'
compile 'com.theartofdev.edmodo:android-image-cropper:2.1.+'
compile 'com.commit451:bypasses:1.0.1'
}