-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
127 lines (125 loc) · 5.7 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
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "javinator9889.securepass"
minSdkVersion 19
targetSdkVersion 28
versionCode 157
versionName "d0.47.81"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
/*flavorDimensions "versions"
productFlavors {
development {
versionNameSuffix "-d"
dimension "versions"
}
final_release {
dimension "versions"
}
}*/
buildTypes {
release {
//shrinkResources true
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
/*compileOptions {
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_1_8
}*/
// configurations.all {
// resolutionStrategy.force 'com.google.code.findbugs:jsr305:1.3.9';
// resolutionStrategy.eachDependency { DependencyResolveDetails details ->
// def requested = details.requested
// if (requested.group == "com.android.support") {
// if (!requested.name.startsWith("multidex")) {
// details.useVersion "26.+"
// }
// }
// }
// }
// Android X configuration for more interoperability
configurations.all {
resolutionStrategy.force 'com.google.code.findbugs:jsr305:1.3.9'
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == "com.android.support") {
if (!requested.name.startsWith("multidex")) {
details.useVersion "26.+"
}
}
}
}
buildToolsVersion '28.0.3'
dexOptions {
}
compileOptions {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.appcompat:appcompat:1.0.0'
// Libs from AppCompat with different versions - incompatibilities with Google Play Services
implementation 'androidx.mediarouter:mediarouter:1.0.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.core:core:1.0.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.viewpager:viewpager:1.0.0'
implementation 'androidx.fragment:fragment:1.0.0'
implementation 'androidx.legacy:legacy-support-core-ui:1.0.0'
implementation 'androidx.legacy:legacy-support-core-utils:1.0.0'
implementation 'androidx.annotation:annotation:1.0.0'
implementation 'androidx.customview:customview:1.0.0'
implementation 'androidx.browser:browser:1.0.0'
implementation 'androidx.multidex:multidex:2.0.0'
// Test implementation libs
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.0-beta02'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-beta02'
// User compilations and libraries
// SQLCipher - https://guardianproject.info/code/sqlcipher/
implementation 'net.zetetic:android-database-sqlcipher:3.5.9@aar'
// AppIntro - https://github.com/apl-devs/AppIntro
implementation 'com.github.paolorotolo:appintro:v5.1.0'
// Google Play Services - https://developers.google.com/android/guides/setup
implementation 'com.google.android.gms:play-services-drive:16.0.0'
implementation 'com.google.android.gms:play-services-auth:16.0.1'
implementation 'com.google.android.gms:play-services-identity:16.0.0'
implementation 'com.google.android.gms:play-services-base:16.0.1'
implementation 'com.google.android.gms:play-services-gcm:16.0.0'
// Material Dialog - https://github.com/afollestad/material-dialogs
implementation 'com.afollestad.material-dialogs:core:0.9.6.0'
// Google Guava - https://github.com/google/guava
implementation 'com.google.guava:guava:24.1-jre'
// Markwon - https://github.com/noties/Markwon
implementation 'ru.noties:markwon:1.0.4'
// SharedChamber - https://github.com/afiqiqmal/SharedChamber
implementation 'com.github.afiqiqmal:SharedChamber:2.5.0'
// CloudRail - https://github.com/CloudRail/cloudrail-si-android-sdk
implementation 'com.cloudrail:cloudrail-si-android:2.21.6'
// SmartTabLayout - https://github.com/ogaclejapan/SmartTabLayout
implementation 'com.ogaclejapan.smarttablayout:library:1.6.1@aar'
implementation 'com.ogaclejapan.smarttablayout:utils-v4:1.6.1@aar'
// AutoValue - https://github.com/google/auto/tree/master/value
annotationProcessor 'com.google.auto.value:auto-value:1.5.2'
annotationProcessor 'com.ryanharter.auto.value:auto-value-parcel:0.2.5'
compileOnly 'com.jakewharton.auto.value:auto-value-annotations:1.4'
implementation 'com.ryanharter.auto.value:auto-value-parcel-adapter:0.2.6'
// Android Iconics - https://github.com/mikepenz/Android-Iconics
implementation "com.mikepenz:iconics-core:3.1.0@aar"
implementation 'com.mikepenz:material-design-iconic-typeface:2.2.0.5@aar'
implementation "com.mikepenz:iconics-views:3.1.0"
// TextLayoutBuilder - https://github.com/facebook/TextLayoutBuilder
// implementation 'com.facebook.fbui.textlayoutbuilder:textlayoutbuilder:1.4.0'
// android-fab - https://github.com/markormesher/android-fab
implementation 'uk.co.markormesher:android-fab:2.4.1'
}