-
Notifications
You must be signed in to change notification settings - Fork 49
/
build.gradle
100 lines (94 loc) · 2.9 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
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'io.realm:realm-gradle-plugin:3.7.2'
}
}
apply plugin: 'com.android.application'
apply plugin: 'realm-android'
android {
compileSdkVersion SDK_VERSION
buildToolsVersion BUILD_TOOLS_VERSION
dataBinding.enabled = true
defaultConfig {
applicationId "com.github.gfx.android.orma.example"
minSdkVersion MIN_SDK_VERSION
targetSdkVersion SDK_VERSION
versionCode rootProject.ext.versionCode
versionName rootProject.ext.versionName
ndk {
abiFilters "armeabi", "armeabi-v7a", "x86"
}
}
signingConfigs {
debug {
storeFile rootProject.file("debug.keystore")
storePassword "android"
keyAlias "androiddebugkey"
keyPassword "android"
}
}
buildTypes {
release {
minifyEnabled true
useProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.debug
resValue "string", "app_name", "Orma ${rootProject.ext.versionName} (release)"
}
debug {
minifyEnabled true
useProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.debug
resValue "string", "app_name", "Orma ${rootProject.ext.versionName} (release)"
}
}
flavorDimensions "app"
productFlavors {
normal {
dimension "app"
}
encrypted {
dimension "app"
applicationIdSuffix ".encrypted"
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
textReport true
textOutput 'stdout'
disable 'SetTextI18n'
disable 'UnusedResources'
disable 'HardcodedText'
disable 'RtlSymmetry'
disable 'RtlHardcoded'
disable 'IconLocation'
}
packagingOptions {
exclude 'META-INF/LICENSE.txt'
}
dexOptions {
preDexLibraries = !System.getenv("CI")
}
}
dependencies {
annotationProcessor project(':processor')
implementation project(':core')
implementation project(':library')
implementation project(':encryption')
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation 'com.google.android.material:material:1.0.0'
implementation 'com.jakewharton.threetenabp:threetenabp:1.0.5'
implementation 'com.facebook.stetho:stetho:1.5.0'
implementation 'io.reactivex.rxjava2:rxjava:2.2.2'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
}