From 7baa37125e3b20fcd9dfbfc1c16a19cf47c6a220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20L=C3=A4nge?= Date: Wed, 20 Dec 2023 18:32:20 +0100 Subject: [PATCH] Update kotlin version and fix WorkManagerConfiguration --- .../qrscanner/PFACodeScannerApplication.kt | 4 +--- build.gradle | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/com/secuso/privacyfriendlycodescanner/qrscanner/PFACodeScannerApplication.kt b/app/src/main/java/com/secuso/privacyfriendlycodescanner/qrscanner/PFACodeScannerApplication.kt index 9ab85c6..3633a95 100644 --- a/app/src/main/java/com/secuso/privacyfriendlycodescanner/qrscanner/PFACodeScannerApplication.kt +++ b/app/src/main/java/com/secuso/privacyfriendlycodescanner/qrscanner/PFACodeScannerApplication.kt @@ -33,8 +33,6 @@ class PFACodeScannerApplication : MultiDexApplication(), Configuration.Provider } } - override fun getWorkManagerConfiguration(): Configuration { - return Configuration.Builder().setMinimumLoggingLevel(Log.INFO).build() - } + override val workManagerConfiguration = Configuration.Builder().setMinimumLoggingLevel(Log.INFO).build() } \ No newline at end of file diff --git a/build.gradle b/build.gradle index bd2a3b7..511c4f8 100644 --- a/build.gradle +++ b/build.gradle @@ -1,14 +1,14 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.8.22' + ext.kotlin_version = '1.9.10' repositories { google() mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:8.1.2' + classpath 'com.android.tools.build:gradle:8.1.4' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" @@ -18,7 +18,7 @@ buildscript { } plugins { - id 'com.google.devtools.ksp' version "$kotlin_version-1.0.11" apply false + id 'com.google.devtools.ksp' version "$kotlin_version-1.0.13" apply false } allprojects {