Skip to content

Commit

Permalink
Merge pull request #126 from arcao/dev
Browse files Browse the repository at this point in the history
Release version 3.0.6
  • Loading branch information
arcao authored Aug 14, 2020
2 parents 40c788f + 5f9bd6a commit 6011c87
Show file tree
Hide file tree
Showing 175 changed files with 4,172 additions and 1,981 deletions.
24 changes: 0 additions & 24 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 40 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions .idea/modules.xml

This file was deleted.

1 change: 0 additions & 1 deletion .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

103 changes: 52 additions & 51 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,73 +2,67 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'io.fabric'
apply plugin: 'com.google.firebase.crashlytics'

dependencies {
// Android Support
implementation "androidx.appcompat:appcompat:$androidxAppcompatVersion"
implementation "androidx.recyclerview:recyclerview:$androidxRecyclerViewVersion"
implementation "androidx.cardview:cardview:$androidxCardViewVersion"
implementation "com.google.android.material:material:$materialVersion"
implementation "androidx.constraintlayout:constraintlayout:$constraintLayoutVersion"
implementation "androidx.preference:preference:$androidxVersion"

implementation "androidx.lifecycle:lifecycle-viewmodel:$androidxLifecycleVersion"
implementation "androidx.lifecycle:lifecycle-livedata:$androidxLifecycleVersion"
implementation "androidx.lifecycle:lifecycle-extensions:$androidxLifecycleVersion"

implementation "androidx.core:core-ktx:$androidxCoreKtxVersion"
implementation "androidx.collection:collection-ktx:$androidxKtxVersion"
implementation "androidx.fragment:fragment-ktx:$androidxKtxVersion"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$androidxKtxLifecycleVersion"
implementation "androidx.multidex:multidex:$androidxMultidexVersion"
implementation "androidx.paging:paging-runtime:$pagingVersion"

kapt "androidx.databinding:databinding-compiler:$androidGradlePluginVersion"
implementation "androidx.appcompat:appcompat:$appcompat_version"
implementation "androidx.recyclerview:recyclerview:$recycler_view_version"
implementation "androidx.cardview:cardview:$card_view_version"
implementation "com.google.android.material:material:$material_version"
implementation "androidx.constraintlayout:constraintlayout:$constraint_layout_version"
implementation "androidx.preference:preference:$preference_version"

implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-livedata:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"

implementation "androidx.core:core-ktx:$core_version"
implementation "androidx.collection:collection-ktx:$collection_version"
implementation "androidx.browser:browser:$browser_version"
implementation "androidx.fragment:fragment-ktx:$fragment_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
implementation "androidx.multidex:multidex:$multidex_version"
implementation "androidx.paging:paging-runtime:$paging_version"

coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:$desugar_jdk_libs_version"

// kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinCoroutinesVersion"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinCoroutinesVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlin_coroutines_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlin_coroutines_version"

// koin
implementation "org.koin:koin-android:$koinVersion"
implementation "org.koin:koin-androidx-viewmodel:$koinVersion"
implementation "org.koin:koin-androidx-scope:$koinVersion"
implementation "org.koin:koin-android:$koin_version"
implementation "org.koin:koin-androidx-viewmodel:$koin_version"
implementation "org.koin:koin-androidx-scope:$koin_version"

// Geocaching API
api project(":geocaching-api")

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

// Logging API
implementation "com.arcao:slf4j-timber:$slf4jTimberVersion"
implementation "com.jakewharton.timber:timber:$timberVersion"

// ScribeJava
implementation "com.github.scribejava:scribejava-core:$scribejavaVersion"
implementation("com.github.scribejava:scribejava-httpclient-okhttp:$scribejavaVersion") {
// exclude incompatible OkHttp library, use 3.12.x version instead
exclude group: 'com.squareup.okhttp3', module: 'okhttp'
}
implementation "com.arcao:slf4j-timber:$slf4jtimber_version"
implementation "com.jakewharton.timber:timber:$timber_version"

// Material dialogs
implementation "com.afollestad.material-dialogs:core:$materialDialogsVersion"
implementation "com.afollestad.material-dialogs:input:$materialDialogsVersion"
implementation "com.afollestad.material-dialogs:core:$material_dialogs_version"
implementation "com.afollestad.material-dialogs:input:$material_dialogs_version"

// Crashlytics & Firebase
implementation "com.google.firebase:firebase-core:$firebaseVersion"
implementation "com.crashlytics.sdk.android:crashlytics:$crashlyticsVersion"
implementation platform("com.google.firebase:firebase-bom:$firebase_bom_version")
implementation 'com.google.firebase:firebase-core'
implementation 'com.google.firebase:firebase-crashlytics'
implementation 'com.google.firebase:firebase-analytics'

// Networking
implementation "com.squareup.okhttp3:okhttp:$okhttpVersion"
implementation "com.squareup.okhttp3:okhttp:$okhttp_version"
}

android {
compileSdkVersion rootProject.compileSdkVersion
compileSdkVersion rootProject.compile_sdk_version

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

minSdkVersion rootProject.minSdkVersion
targetSdkVersion rootProject.targetSdkVersion
minSdkVersion rootProject.min_sdk_version
targetSdkVersion rootProject.target_sdk_version

versionName rootProject.versionName
versionName rootProject.version_name
versionCode hasProperty('devBuild') ? 1 : gitVersionCode()

multiDexEnabled true

aaptOptions.cruncherEnabled = false
aaptOptions {
cruncherEnabled = false
}

buildConfigField 'String', 'GIT_SHA', 'null'
buildConfigField 'String', 'BUILD_TIME', 'null'
Expand All @@ -105,18 +101,19 @@ android {
encoding 'UTF-8'
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
coreLibraryDesugaringEnabled true
}

kotlinOptions {
freeCompilerArgs += [
"-Xuse-experimental=kotlin.Experimental",
"-Xopt-in=kotlin.RequiresOptIn",
"-Xjvm-default=compatibility"
]
jvmTarget = JavaVersion.VERSION_1_8
}

dataBinding {
enabled = true
buildFeatures {
dataBinding = true
}

signingConfigs {
Expand All @@ -130,6 +127,10 @@ android {
ext.alwaysUpdateBuildId = false
versionNameSuffix '-dev'
crunchPngs false

firebaseCrashlytics {
mappingFileUploadEnabled false
}
}
release {
versionNameSuffix ''
Expand Down
7 changes: 0 additions & 7 deletions app/proguard-rules/proguard-autovalue.pro

This file was deleted.

11 changes: 0 additions & 11 deletions app/proguard-rules/proguard-crashlytics-2.pro

This file was deleted.

10 changes: 0 additions & 10 deletions app/proguard-rules/proguard-kotlin-coroutines.pro

This file was deleted.

5 changes: 0 additions & 5 deletions app/proguard-rules/proguard-moshi-kotlin.pro

This file was deleted.

6 changes: 0 additions & 6 deletions app/proguard-rules/proguard-square-okhttp3.pro

This file was deleted.

5 changes: 0 additions & 5 deletions app/proguard-rules/proguard-square-okio.pro

This file was deleted.

7 changes: 0 additions & 7 deletions app/proguard-rules/proguard-support-v7-appcompat.pro

This file was deleted.

2 changes: 0 additions & 2 deletions app/proguard-rules/proguard-support-v7-cardview.pro

This file was deleted.

Loading

0 comments on commit 6011c87

Please sign in to comment.