summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2022-12-14 13:47:53 +0100
committerArne Schwabe <arne@rfc2549.org>2022-12-14 13:47:53 +0100
commitc2924c6da1bbac9a29d2d276165f28dd399971ba (patch)
tree41798b525f89689109766f7fc5e503a1cd5579ed
parent10f15bcb601aa200a9162ea984b7030cfb6ed1e4 (diff)
Update dependencies
-rw-r--r--build.gradle.kts6
-rw-r--r--main/build.gradle.kts16
-rw-r--r--main/src/ui/java/de/blinkt/openvpn/fragments/Utils.kt1
3 files changed, 12 insertions, 11 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 3ac14289..b77de274 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,14 +8,14 @@ buildscript {
var kotlin_version: String by extra
var fragment_version: String by extra
- kotlin_version = "1.5.30"
- fragment_version = "1.3.3"
+ kotlin_version = "1.7.22"
+ fragment_version = "1.5.5"
repositories {
google()
mavenCentral()
}
dependencies {
- classpath("com.android.tools.build:gradle:7.3.0")
+ classpath("com.android.tools.build:gradle:7.3.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
}
}
diff --git a/main/build.gradle.kts b/main/build.gradle.kts
index 247668ab..a366ad8f 100644
--- a/main/build.gradle.kts
+++ b/main/build.gradle.kts
@@ -165,9 +165,9 @@ dependencies {
// https://maven.google.com/web/index.html
// https://developer.android.com/jetpack/androidx/releases/core
val preferenceVersion = "1.2.0"
- val coreVersion = "1.7.0"
- val materialVersion = "1.5.0"
- val fragment_version = "1.4.1"
+ val coreVersion = "1.9.0"
+ val materialVersion = "1.7.0"
+ val fragment_version = "1.5.5"
implementation("androidx.annotation:annotation:1.3.0")
@@ -175,11 +175,11 @@ dependencies {
// Is there a nicer way to do this?
- dependencies.add("uiImplementation", "androidx.constraintlayout:constraintlayout:2.1.3")
- dependencies.add("uiImplementation", "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.21")
+ dependencies.add("uiImplementation", "androidx.constraintlayout:constraintlayout:2.1.4")
+ dependencies.add("uiImplementation", "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.22")
dependencies.add("uiImplementation", "androidx.cardview:cardview:1.0.0")
dependencies.add("uiImplementation", "androidx.recyclerview:recyclerview:1.2.1")
- dependencies.add("uiImplementation", "androidx.appcompat:appcompat:1.4.1")
+ dependencies.add("uiImplementation", "androidx.appcompat:appcompat:1.5.1")
dependencies.add("uiImplementation", "com.github.PhilJay:MPAndroidChart:v3.1.0")
dependencies.add("uiImplementation", "com.squareup.okhttp3:okhttp:4.9.3")
dependencies.add("uiImplementation", "androidx.core:core:$coreVersion")
@@ -189,8 +189,8 @@ dependencies {
dependencies.add("uiImplementation", "androidx.preference:preference-ktx:$preferenceVersion")
dependencies.add("uiImplementation", "com.google.android.material:material:$materialVersion")
dependencies.add("uiImplementation", "androidx.webkit:webkit:1.4.0")
- dependencies.add("uiImplementation", "androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1")
- dependencies.add("uiImplementation", "androidx.lifecycle:lifecycle-runtime-ktx:2.4.1")
+ dependencies.add("uiImplementation", "androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1")
+ dependencies.add("uiImplementation", "androidx.lifecycle:lifecycle-runtime-ktx:2.5.1")
dependencies.add("uiImplementation","androidx.security:security-crypto:1.0.0")
diff --git a/main/src/ui/java/de/blinkt/openvpn/fragments/Utils.kt b/main/src/ui/java/de/blinkt/openvpn/fragments/Utils.kt
index 4fdd50ba..8db487e7 100644
--- a/main/src/ui/java/de/blinkt/openvpn/fragments/Utils.kt
+++ b/main/src/ui/java/de/blinkt/openvpn/fragments/Utils.kt
@@ -90,6 +90,7 @@ object Utils {
i.type = "text/plain"
supportedMimeTypes.add("text/plain")
}
+ else -> null
}
val mtm = MimeTypeMap.getSingleton()
for (ext in extensions) {