Skip to content

Commit

Permalink
Merge branch 'main' into renovate/ktor
Browse files Browse the repository at this point in the history
  • Loading branch information
twyatt committed Dec 20, 2024
2 parents feca788 + 07d1204 commit fcda8c2
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
10 changes: 6 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[versions]
android-compile = "34"
android-agp = "8.7.3"
android-compile = "34"
android-tools = "31.7.3" # If the AGP version is X.Y.Z, then the Lint library version is X+23.Y.Z.
atomicfu = "0.26.1"
jacoco = "0.8.7"
jvm-target = "1.8"
kotlin = "2.1.0"
Expand All @@ -12,8 +13,9 @@ android-lint-api = { module = "com.android.tools.lint:lint-api", version.ref = "
android-lint-test = { module = "com.android.tools.lint:lint-tests", version.ref = "android-tools" }
androidx-test-junit = "androidx.test.ext:junit:1.2.1"
androidx-test-runner = "androidx.test:runner:1.6.2"
atomicfu = { module = "org.jetbrains.kotlinx:atomicfu", version.ref = "atomicfu" }
junit = "junit:junit:4.13.2"
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version = "1.9.0" }
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version = "1.10.1" }
ktor-core = { module = "io.ktor:ktor-client-core", version.ref = "ktor" }
ktor-logging = { module = "io.ktor:ktor-client-logging", version.ref = "ktor" }
ktor-mock = { module = "io.ktor:ktor-client-mock", version.ref = "ktor" }
Expand All @@ -22,8 +24,8 @@ robolectric = "org.robolectric:robolectric:4.14.1"
[plugins]
android-library = { id = "com.android.library", version.ref = "android-agp" }
android-publish = { id = "com.vanniktech.maven.publish", version = "0.30.0" }
api = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version = "0.16.3" }
atomicfu = { id = "org.jetbrains.kotlinx.atomicfu", version = "0.26.1" }
api = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version = "0.17.0" }
atomicfu = { id = "org.jetbrains.kotlinx.atomicfu", version.ref = "atomicfu" }
dokka = { id = "org.jetbrains.dokka", version = "1.9.20" }
kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
kotlinter = { id = "org.jmailen.kotlinter", version = "5.0.1" }
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
3 changes: 1 addition & 2 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ done
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
' "$PWD" ) || exit
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down
6 changes: 6 additions & 0 deletions khronicle-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ kotlin {
languageSettings.optIn("com.juul.khronicle.KhronicleInternal")
}

androidMain.dependencies {
// Workaround for AtomicFU plugin not automatically adding JVM dependency for Android.
// https://github.com/Kotlin/kotlinx-atomicfu/issues/145
implementation(libs.atomicfu)
}

androidUnitTest.dependencies {
implementation(libs.androidx.test.junit)
implementation(libs.androidx.test.runner)
Expand Down

0 comments on commit fcda8c2

Please sign in to comment.