Skip to content

Commit 6011c87

Browse files
authored
Merge pull request #126 from arcao/dev
Release version 3.0.6
2 parents 40c788f + 5f9bd6a commit 6011c87

File tree

175 files changed

+4172
-1981
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

175 files changed

+4172
-1981
lines changed

.idea/codeStyles/Project.xml

Lines changed: 0 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/jarRepositories.xml

Lines changed: 40 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/kotlinc.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.idea/vcs.xml

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 52 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -2,73 +2,67 @@ apply plugin: 'com.android.application'
22
apply plugin: 'kotlin-android'
33
apply plugin: 'kotlin-android-extensions'
44
apply plugin: 'kotlin-kapt'
5-
apply plugin: 'io.fabric'
5+
apply plugin: 'com.google.firebase.crashlytics'
66

77
dependencies {
88
// Android Support
9-
implementation "androidx.appcompat:appcompat:$androidxAppcompatVersion"
10-
implementation "androidx.recyclerview:recyclerview:$androidxRecyclerViewVersion"
11-
implementation "androidx.cardview:cardview:$androidxCardViewVersion"
12-
implementation "com.google.android.material:material:$materialVersion"
13-
implementation "androidx.constraintlayout:constraintlayout:$constraintLayoutVersion"
14-
implementation "androidx.preference:preference:$androidxVersion"
15-
16-
implementation "androidx.lifecycle:lifecycle-viewmodel:$androidxLifecycleVersion"
17-
implementation "androidx.lifecycle:lifecycle-livedata:$androidxLifecycleVersion"
18-
implementation "androidx.lifecycle:lifecycle-extensions:$androidxLifecycleVersion"
19-
20-
implementation "androidx.core:core-ktx:$androidxCoreKtxVersion"
21-
implementation "androidx.collection:collection-ktx:$androidxKtxVersion"
22-
implementation "androidx.fragment:fragment-ktx:$androidxKtxVersion"
23-
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$androidxKtxLifecycleVersion"
24-
implementation "androidx.multidex:multidex:$androidxMultidexVersion"
25-
implementation "androidx.paging:paging-runtime:$pagingVersion"
26-
27-
kapt "androidx.databinding:databinding-compiler:$androidGradlePluginVersion"
9+
implementation "androidx.appcompat:appcompat:$appcompat_version"
10+
implementation "androidx.recyclerview:recyclerview:$recycler_view_version"
11+
implementation "androidx.cardview:cardview:$card_view_version"
12+
implementation "com.google.android.material:material:$material_version"
13+
implementation "androidx.constraintlayout:constraintlayout:$constraint_layout_version"
14+
implementation "androidx.preference:preference:$preference_version"
15+
16+
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
17+
implementation "androidx.lifecycle:lifecycle-livedata:$lifecycle_version"
18+
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
19+
20+
implementation "androidx.core:core-ktx:$core_version"
21+
implementation "androidx.collection:collection-ktx:$collection_version"
22+
implementation "androidx.browser:browser:$browser_version"
23+
implementation "androidx.fragment:fragment-ktx:$fragment_version"
24+
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
25+
implementation "androidx.multidex:multidex:$multidex_version"
26+
implementation "androidx.paging:paging-runtime:$paging_version"
27+
28+
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:$desugar_jdk_libs_version"
2829

2930
// kotlin
30-
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
31-
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinCoroutinesVersion"
32-
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinCoroutinesVersion"
31+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
32+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlin_coroutines_version"
33+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlin_coroutines_version"
3334

3435
// koin
35-
implementation "org.koin:koin-android:$koinVersion"
36-
implementation "org.koin:koin-androidx-viewmodel:$koinVersion"
37-
implementation "org.koin:koin-androidx-scope:$koinVersion"
36+
implementation "org.koin:koin-android:$koin_version"
37+
implementation "org.koin:koin-androidx-viewmodel:$koin_version"
38+
implementation "org.koin:koin-androidx-scope:$koin_version"
3839

3940
// Geocaching API
4041
api project(":geocaching-api")
4142

4243
// Locus API
43-
implementation("com.asamm:locus-api-android:$locusApiAndroidVersion") {
44-
exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib-jdk8'
45-
}
44+
implementation "com.asamm:locus-api-android:$locus_api_version"
4645

4746
// Logging API
48-
implementation "com.arcao:slf4j-timber:$slf4jTimberVersion"
49-
implementation "com.jakewharton.timber:timber:$timberVersion"
50-
51-
// ScribeJava
52-
implementation "com.github.scribejava:scribejava-core:$scribejavaVersion"
53-
implementation("com.github.scribejava:scribejava-httpclient-okhttp:$scribejavaVersion") {
54-
// exclude incompatible OkHttp library, use 3.12.x version instead
55-
exclude group: 'com.squareup.okhttp3', module: 'okhttp'
56-
}
47+
implementation "com.arcao:slf4j-timber:$slf4jtimber_version"
48+
implementation "com.jakewharton.timber:timber:$timber_version"
5749

5850
// Material dialogs
59-
implementation "com.afollestad.material-dialogs:core:$materialDialogsVersion"
60-
implementation "com.afollestad.material-dialogs:input:$materialDialogsVersion"
51+
implementation "com.afollestad.material-dialogs:core:$material_dialogs_version"
52+
implementation "com.afollestad.material-dialogs:input:$material_dialogs_version"
6153

6254
// Crashlytics & Firebase
63-
implementation "com.google.firebase:firebase-core:$firebaseVersion"
64-
implementation "com.crashlytics.sdk.android:crashlytics:$crashlyticsVersion"
55+
implementation platform("com.google.firebase:firebase-bom:$firebase_bom_version")
56+
implementation 'com.google.firebase:firebase-core'
57+
implementation 'com.google.firebase:firebase-crashlytics'
58+
implementation 'com.google.firebase:firebase-analytics'
6559

6660
// Networking
67-
implementation "com.squareup.okhttp3:okhttp:$okhttpVersion"
61+
implementation "com.squareup.okhttp3:okhttp:$okhttp_version"
6862
}
6963

7064
android {
71-
compileSdkVersion rootProject.compileSdkVersion
65+
compileSdkVersion rootProject.compile_sdk_version
7266

7367
dexOptions {
7468
// Skip pre-dexing when running on Travis CI or when disabled via -Dpre-dex=false.
@@ -79,15 +73,17 @@ android {
7973
applicationId 'com.arcao.geocaching4locus'
8074
archivesBaseName = parent.name
8175

82-
minSdkVersion rootProject.minSdkVersion
83-
targetSdkVersion rootProject.targetSdkVersion
76+
minSdkVersion rootProject.min_sdk_version
77+
targetSdkVersion rootProject.target_sdk_version
8478

85-
versionName rootProject.versionName
79+
versionName rootProject.version_name
8680
versionCode hasProperty('devBuild') ? 1 : gitVersionCode()
8781

8882
multiDexEnabled true
8983

90-
aaptOptions.cruncherEnabled = false
84+
aaptOptions {
85+
cruncherEnabled = false
86+
}
9187

9288
buildConfigField 'String', 'GIT_SHA', 'null'
9389
buildConfigField 'String', 'BUILD_TIME', 'null'
@@ -105,18 +101,19 @@ android {
105101
encoding 'UTF-8'
106102
sourceCompatibility JavaVersion.VERSION_1_8
107103
targetCompatibility JavaVersion.VERSION_1_8
104+
coreLibraryDesugaringEnabled true
108105
}
109106

110107
kotlinOptions {
111108
freeCompilerArgs += [
112-
"-Xuse-experimental=kotlin.Experimental",
109+
"-Xopt-in=kotlin.RequiresOptIn",
113110
"-Xjvm-default=compatibility"
114111
]
115112
jvmTarget = JavaVersion.VERSION_1_8
116113
}
117114

118-
dataBinding {
119-
enabled = true
115+
buildFeatures {
116+
dataBinding = true
120117
}
121118

122119
signingConfigs {
@@ -130,6 +127,10 @@ android {
130127
ext.alwaysUpdateBuildId = false
131128
versionNameSuffix '-dev'
132129
crunchPngs false
130+
131+
firebaseCrashlytics {
132+
mappingFileUploadEnabled false
133+
}
133134
}
134135
release {
135136
versionNameSuffix ''

app/proguard-rules/proguard-autovalue.pro

Lines changed: 0 additions & 7 deletions
This file was deleted.

app/proguard-rules/proguard-crashlytics-2.pro

Lines changed: 0 additions & 11 deletions
This file was deleted.

app/proguard-rules/proguard-kotlin-coroutines.pro

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)