updating commons, gradle, kotlin

This commit is contained in:
tibbi 2020-04-21 22:04:38 +02:00
parent 23b48edbac
commit 15ca2195f8
4 changed files with 9 additions and 7 deletions

View File

@ -57,5 +57,5 @@ android {
} }
dependencies { dependencies {
implementation 'com.simplemobiletools:commons:5.22.19' implementation 'com.simplemobiletools:commons:5.26.18'
} }

View File

@ -173,8 +173,10 @@ class SettingsActivity : SimpleActivity() {
FilePickerDialog(this, config.savePhotosFolder, false, showFAB = true) { FilePickerDialog(this, config.savePhotosFolder, false, showFAB = true) {
val path = it val path = it
handleSAFDialog(it) { handleSAFDialog(it) {
config.savePhotosFolder = path if (it) {
settings_save_photos.text = getLastPart(config.savePhotosFolder) config.savePhotosFolder = path
settings_save_photos.text = getLastPart(config.savePhotosFolder)
}
} }
} }
} }

View File

@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { buildscript {
ext.kotlin_version = '1.3.70' ext.kotlin_version = '1.3.72'
repositories { repositories {
google() google()
@ -9,7 +9,7 @@ buildscript {
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.5.3' classpath 'com.android.tools.build:gradle:3.6.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong

View File

@ -1,6 +1,6 @@
#Mon Sep 02 22:18:50 CEST 2019 #Tue Apr 21 22:00:11 CEST 2020
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip