Skip to content

Commit

Permalink
Update Kotlin to 1.9.10 to allow other upgrades (#103)
Browse files Browse the repository at this point in the history
Prior to upgrading other dependencies, we should update Kotlin to 1.9.10
(latest version).
  • Loading branch information
pkwarren authored Sep 18, 2023
1 parent 7cc83b4 commit fbc8c00
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ BIN := .tmp/bin
CACHE := .tmp/cache
LICENSE_HEADER_YEAR_RANGE := 2022-2023
LICENSE_HEADER_VERSION := v1.26.1
PROTOC_VERSION ?= 24.1
PROTOC_VERSION ?= 24.3
GRADLE_ARGS ?=

UNAME_OS := $(shell uname -s)
Expand Down
13 changes: 6 additions & 7 deletions examples/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,12 @@ android {
}

dependencies {
// TODO: add deps to libs.versions.toml
implementation("androidx.appcompat:appcompat:1.5.1")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
implementation("androidx.recyclerview:recyclerview:1.2.1")
implementation("com.android.support:multidex:1.0.3")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.5.1")
implementation("com.google.android.material:material:1.4.0")
implementation(libs.androidx.appcompat)
implementation(libs.androidx.constraintLayout)
implementation(libs.androidx.recyclerview)
implementation(libs.android.multidex)
implementation(libs.androidx.lifecycle.runtime.ktx)
implementation(libs.android.material)

implementation(project(":okhttp"))
implementation(project(":examples:generated-google-javalite"))
Expand Down
22 changes: 13 additions & 9 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,26 +1,30 @@
[versions]
android = "4.1.1.4"
assertj = "3.11.0"
coroutines = "1.5.2"
dokka = "1.5.30"
coroutines = "1.7.3"
dokka = "1.9.0"
junit = "4.13.2"
kotlin = "1.6.21"
kotlinpoet = "1.12.0"
kotlin = "1.9.10"
kotlinpoet = "1.14.2"
ktlint = "0.46.0"
mavenplugin = "0.24.0"
moshi = "1.14.0"
moshi = "1.15.0"
okhttp = "4.10.0"
okio = "3.0.0"
protobuf = "3.24.1"
protobuf = "3.24.3"

[libraries]
android = { module = "com.google.android:android", version.ref = "android" }
android-material = { module = "com.google.android.material:material", version = "1.4.0" }
android-multidex = { module = "com.android.support:multidex", version = "1.0.3" }
android-plugin = { module = "com.android.tools.build:gradle", version = "8.1.1" }
androidx-annotations = { module = "androidx.annotation:annotation", version = "1.1.0" }
androidx-appcompat = { module = "androidx.appcompat:appcompat", version = "1.0.2" }
androidx-appcompat = { module = "androidx.appcompat:appcompat", version = "1.5.1" }
androidx-compose = { module = "androidx.activity:activity-compose", version = "1.4.0" }
androidx-constraintLayout = { module = "androidx.constraintlayout:constraintlayout", version = "1.1.3" }
androidx-constraintLayout = { module = "androidx.constraintlayout:constraintlayout", version = "2.1.4" }
androidx-lifecycle-runtime-ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version = "2.5.1" }
androidx-ktx = { module = "androidx.core:core-ktx", version = "1.0.2" }
androidx-recyclerview = { module = "androidx.recyclerview:recyclerview", "version" = "1.2.1" }
assertj = { module = "org.assertj:assertj-core", version.ref = "assertj" }
dokka-core = { module = "org.jetbrains.dokka:dokka-core", version.ref = "dokka" }
dokka-plugin = { module = "org.jetbrains.dokka:dokka-gradle-plugin", version.ref = "dokka" }
Expand Down Expand Up @@ -50,4 +54,4 @@ testcontainers = { module = "org.testcontainers:testcontainers", version = "1.19

[plugins]
git = { id = "com.palantir.git-version", version = "3.0.0" }
ksp = { id = "com.google.devtools.ksp", version = "1.6.21-1.0.6" }
ksp = { id = "com.google.devtools.ksp", version = "1.9.10-1.0.13" }

0 comments on commit fbc8c00

Please sign in to comment.