diff --git a/build.gradle b/build.gradle
index 63e5c07bb..13ad8a7e1 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,9 +4,9 @@ buildscript {
maven { url 'https://maven.google.com/' }
}
dependencies {
- classpath 'com.android.tools.build:gradle:7.1.2'
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21"
- classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.6.21"
+ classpath 'com.android.tools.build:gradle:7.2.2'
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20"
+ classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.7.20"
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.18.0'
}
}
diff --git a/gradle/verification-keyring.gpg b/gradle/verification-keyring.gpg
index 640f023e2..850663e1b 100644
Binary files a/gradle/verification-keyring.gpg and b/gradle/verification-keyring.gpg differ
diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml
index f4f4d9750..edbd0b6a3 100644
--- a/gradle/verification-metadata.xml
+++ b/gradle/verification-metadata.xml
@@ -512,6 +512,11 @@
+
+
+
+
+
@@ -530,6 +535,11 @@
+
+
+
+
+
@@ -675,6 +685,11 @@
+
+
+
+
+
@@ -698,6 +713,11 @@
+
+
+
+
+
@@ -721,6 +741,11 @@
+
+
+
+
+
@@ -736,6 +761,11 @@
+
+
+
+
+
@@ -746,6 +776,11 @@
+
+
+
+
+
@@ -899,26 +934,51 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -934,6 +994,11 @@
+
+
+
+
+
@@ -1366,6 +1431,11 @@
+
+
+
+
+
@@ -1384,6 +1454,11 @@
+
+
+
+
+
@@ -1402,6 +1477,11 @@
+
+
+
+
+
@@ -1420,6 +1500,11 @@
+
+
+
+
+
@@ -1438,6 +1523,11 @@
+
+
+
+
+
@@ -1456,6 +1546,11 @@
+
+
+
+
+
@@ -1474,6 +1569,11 @@
+
+
+
+
+
@@ -1492,6 +1592,11 @@
+
+
+
+
+
@@ -1510,6 +1615,11 @@
+
+
+
+
+
@@ -1528,6 +1638,11 @@
+
+
+
+
+
@@ -1546,6 +1661,11 @@
+
+
+
+
+
@@ -1564,6 +1684,11 @@
+
+
+
+
+
@@ -1582,6 +1707,11 @@
+
+
+
+
+
@@ -1601,6 +1731,11 @@
+
+
+
+
+
@@ -1629,6 +1764,11 @@
+
+
+
+
+
@@ -1639,6 +1779,11 @@
+
+
+
+
+
@@ -1657,6 +1802,11 @@
+
+
+
+
+
@@ -1675,6 +1825,11 @@
+
+
+
+
+
@@ -1693,6 +1848,11 @@
+
+
+
+
+
@@ -1711,6 +1871,11 @@
+
+
+
+
+
@@ -1729,6 +1894,11 @@
+
+
+
+
+
@@ -1747,6 +1917,11 @@
+
+
+
+
+
@@ -1765,6 +1940,11 @@
+
+
+
+
+
@@ -1783,6 +1963,11 @@
+
+
+
+
+
@@ -1801,6 +1986,11 @@
+
+
+
+
+
@@ -1854,11 +2044,21 @@
+
+
+
+
+
+
+
+
+
+
@@ -1877,6 +2077,11 @@
+
+
+
+
+
@@ -1895,6 +2100,11 @@
+
+
+
+
+
@@ -1913,6 +2123,11 @@
+
+
+
+
+
@@ -1931,6 +2146,11 @@
+
+
+
+
+
@@ -1949,6 +2169,11 @@
+
+
+
+
+
@@ -1967,6 +2192,11 @@
+
+
+
+
+
@@ -1985,6 +2215,11 @@
+
+
+
+
+
@@ -2003,6 +2238,11 @@
+
+
+
+
+
@@ -2026,81 +2266,166 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2168,6 +2493,11 @@
+
+
+
+
+
@@ -2186,6 +2516,11 @@
+
+
+
+
+
@@ -2204,6 +2539,11 @@
+
+
+
+
+
@@ -2214,6 +2554,11 @@
+
+
+
+
+
@@ -2224,6 +2569,11 @@
+
+
+
+
+
@@ -2234,6 +2584,11 @@
+
+
+
+
+
@@ -2547,6 +2902,12 @@
+
+
+
+
+
+
@@ -3068,6 +3429,12 @@
+
+
+
+
+
+
@@ -3272,6 +3639,11 @@
+
+
+
+
+
@@ -3465,6 +3837,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -3512,6 +3895,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -3537,6 +3931,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -3577,6 +3982,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -3621,6 +4037,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -3641,6 +4072,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -3651,6 +4093,12 @@
+
+
+
+
+
+
@@ -3676,6 +4124,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -3692,6 +4151,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -3713,6 +4183,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -3728,6 +4209,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -3770,6 +4262,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -3801,6 +4304,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -3831,6 +4345,12 @@
+
+
+
+
+
+
@@ -3856,6 +4376,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -3908,6 +4439,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -3933,6 +4475,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -3985,6 +4538,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -4025,6 +4589,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -4056,6 +4631,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -4071,6 +4657,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -4113,6 +4710,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -4138,6 +4746,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -4180,6 +4799,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -4195,6 +4825,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -4221,6 +4862,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -4236,6 +4888,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -4876,6 +5539,11 @@
+
+
+
+
+
@@ -4899,6 +5567,11 @@
+
+
+
+
+
@@ -5173,6 +5846,12 @@
+
+
+
+
+
+
@@ -5464,21 +6143,41 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -5509,16 +6208,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -5530,41 +6255,121 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -5591,6 +6396,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -5606,6 +6421,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -5621,6 +6446,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -5641,6 +6476,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -5656,6 +6501,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -5671,6 +6526,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -5691,6 +6556,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -5706,6 +6581,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -5721,6 +6606,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -5736,6 +6657,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -5751,6 +6682,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -5766,6 +6707,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -5781,6 +6732,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -5796,6 +6762,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -5836,6 +6817,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -5856,6 +6852,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -5871,6 +6877,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -5886,6 +6902,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -5901,6 +6927,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -5916,6 +6952,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -5926,6 +6972,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -5976,6 +7037,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -6021,6 +7102,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -6066,6 +7167,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -6111,6 +7227,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -6126,6 +7257,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -6141,6 +7282,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -6156,6 +7307,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -6171,6 +7332,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -6186,6 +7372,11 @@
+
+
+
+
+
@@ -6201,6 +7392,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -6216,6 +7422,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -6280,6 +7496,11 @@
+
+
+
+
+
@@ -6321,6 +7542,11 @@
+
+
+
+
+
@@ -6347,6 +7573,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -6367,6 +7603,11 @@
+
+
+
+
+
@@ -6377,6 +7618,11 @@
+
+
+
+
+
@@ -6401,11 +7647,22 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -6419,6 +7676,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -6434,6 +7701,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -6457,6 +7734,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -6472,6 +7759,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -6523,6 +7820,7 @@
+
diff --git a/libs/database/build.gradle b/libs/database/build.gradle
index 8e5f855e8..baf55aefd 100644
--- a/libs/database/build.gradle
+++ b/libs/database/build.gradle
@@ -65,17 +65,16 @@ dependencies {
implementation project(":libs:index")
implementation 'androidx.core:core-ktx:1.8.0'
- implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.5.0'
+ implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.5.1'
- def room_version = "2.4.2"
- implementation "androidx.room:room-runtime:$room_version"
- implementation "androidx.room:room-ktx:$room_version"
- kapt "androidx.room:room-compiler:$room_version"
+ implementation "androidx.room:room-runtime:2.4.3"
+ implementation "androidx.room:room-ktx:2.4.3"
+ kapt "androidx.room:room-compiler:2.4.3"
implementation 'io.github.microutils:kotlin-logging:2.1.21'
implementation "org.slf4j:slf4j-android:1.7.36"
- implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.3"
+ implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1"
testImplementation project(":libs:sharedTest")
testImplementation 'junit:junit:4.13.2'
diff --git a/libs/download/build.gradle b/libs/download/build.gradle
index db26c9cea..894774deb 100644
--- a/libs/download/build.gradle
+++ b/libs/download/build.gradle
@@ -24,10 +24,6 @@ kotlin {
// else if (isMingwX64) nativeTarget = mingwX64("native")
// else throw new GradleException("Host OS is not supported in Kotlin/Native.")
- ext {
- ktor_version = "2.0.3"
- }
-
sourceSets {
all {
languageSettings {
@@ -37,20 +33,20 @@ kotlin {
}
commonMain {
dependencies {
- api "io.ktor:ktor-client-core:$ktor_version"
+ api "io.ktor:ktor-client-core:2.1.3"
implementation 'io.github.microutils:kotlin-logging:2.1.21'
}
}
commonTest {
dependencies {
implementation kotlin('test')
- implementation "io.ktor:ktor-client-mock:$ktor_version"
+ implementation "io.ktor:ktor-client-mock:2.1.3"
}
}
// JVM is disabled for now, because Android app is including it instead of Android library
jvmMain {
dependencies {
- implementation "io.ktor:ktor-client-cio:$ktor_version"
+ implementation "io.ktor:ktor-client-cio:2.1.3"
}
}
jvmTest {
@@ -59,8 +55,10 @@ kotlin {
}
}
androidMain {
+ // needed because of https://issuetracker.google.com/issues/231701341
+ kotlin.srcDir("src/commonMain/kotlin")
dependencies {
- implementation "io.ktor:ktor-client-okhttp:$ktor_version"
+ implementation "io.ktor:ktor-client-okhttp:2.1.3"
implementation("com.github.bumptech.glide:glide:4.12.0") {
transitive = false // we don't need all that it pulls in, just the basics
}
@@ -68,7 +66,10 @@ kotlin {
}
}
androidTest {
+ // needed because of https://issuetracker.google.com/issues/231701341
+ kotlin.srcDir("src/commonTest/kotlin")
dependencies {
+ implementation kotlin('test')
implementation 'org.json:json:20220320'
implementation 'junit:junit:4.13.2'
implementation 'ch.qos.logback:logback-classic:1.2.11'
@@ -82,7 +83,7 @@ kotlin {
}
nativeMain {
dependencies {
- implementation "io.ktor:ktor-client-curl:$ktor_version"
+ implementation "io.ktor:ktor-client-curl:2.1.3"
}
}
nativeTest {
diff --git a/libs/download/src/androidMain/kotlin/org/fdroid/download/HttpDownloader.kt b/libs/download/src/androidMain/kotlin/org/fdroid/download/HttpDownloader.kt
index bfcaef7e0..5858a7963 100644
--- a/libs/download/src/androidMain/kotlin/org/fdroid/download/HttpDownloader.kt
+++ b/libs/download/src/androidMain/kotlin/org/fdroid/download/HttpDownloader.kt
@@ -104,6 +104,7 @@ public class HttpDownloader constructor(
* @see [Cookieless cookies](http://lucb1e.com/rp/cookielesscookies)
*/
@Suppress("DEPRECATION")
+ @Deprecated("Use only for v1 repos")
@Throws(IOException::class, InterruptedException::class)
public override fun download() {
val headInfo = runBlocking {
diff --git a/libs/index/build.gradle b/libs/index/build.gradle
index fc3cb5bc1..84b0e8cc6 100644
--- a/libs/index/build.gradle
+++ b/libs/index/build.gradle
@@ -1,6 +1,6 @@
plugins {
id 'org.jetbrains.kotlin.multiplatform'
- id 'org.jetbrains.kotlin.plugin.serialization' version '1.6.21'
+ id 'org.jetbrains.kotlin.plugin.serialization' version '1.7.21'
id 'com.android.library'
id 'org.jetbrains.dokka'
id "org.jlleitschuh.gradle.ktlint" version "10.2.1"
@@ -36,11 +36,11 @@ kotlin {
}
commonMain {
dependencies {
- implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.3"
+ implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1"
implementation 'io.github.microutils:kotlin-logging:2.1.21'
implementation project(":libs:download")
- implementation "io.ktor:ktor-io:2.0.3"
+ implementation "io.ktor:ktor-io:2.1.3"
}
}
commonTest {
@@ -61,8 +61,10 @@ kotlin {
}
}
androidMain {
+ // needed because of https://issuetracker.google.com/issues/231701341
+ kotlin.srcDir("src/commonMain/kotlin")
dependencies {
- implementation "org.jetbrains.kotlin:kotlin-reflect:1.6.21"
+ implementation "org.jetbrains.kotlin:kotlin-reflect:1.7.21"
implementation 'androidx.core:core-ktx:1.8.0'
implementation "org.slf4j:slf4j-android:1.7.36"
}
diff --git a/libs/sharedTest/build.gradle b/libs/sharedTest/build.gradle
index 1b4cf86f8..15007c2c8 100644
--- a/libs/sharedTest/build.gradle
+++ b/libs/sharedTest/build.gradle
@@ -21,7 +21,7 @@ dependencies {
implementation project(":libs:index")
implementation 'org.jetbrains.kotlin:kotlin-test'
- implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.3"
+ implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1"
}
apply from: "${rootProject.rootDir}/gradle/ktlint.gradle"