Skip to content

Commit

Permalink
Bump Kotlin version to 1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
IUADE0FY committed Jun 16, 2024
1 parent d7308f1 commit 6c8b91b
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ buildscript {
dependencies {
classpath(deps.plugins.androidGradle)
classpath(deps.plugins.kotlinGradle)
classpath(deps.plugins.kspGradle)
classpath(deps.plugins.daggerHiltGradle)
classpath(deps.plugins.gradleVersions)
classpath(deps.plugins.dokka)
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ repositories {
}

dependencies {
implementation("com.android.tools.build:gradle:7.2.1")
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.0")
implementation("com.android.tools.build:gradle:7.4.0")
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0")
// See https://github.com/google/dagger/issues/3068#issuecomment-999118496
// for why it should be here.
implementation("com.squareup:javapoet:1.13.0")
Expand Down
9 changes: 5 additions & 4 deletions buildSrc/src/main/java/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ object publishingConfig {

object versions {

const val kotlin = "1.8.0" // also in buildSrc build.gradle.kts file
const val gradlePlugin = "7.2.1" // also in buildSrc build.gradle.kts file
const val kotlin = "1.9.0" // also in buildSrc build.gradle.kts file
const val gradlePlugin = "7.4.0" // also in buildSrc build.gradle.kts file
const val detektPlugin = "1.20.0"
const val ktlintPlugin = "10.3.0"
const val gradleVersionsPlugin = "0.42.0"
Expand All @@ -75,14 +75,14 @@ object versions {
const val navigation = "2.5.1"
const val fragmentKtx = "1.5.1"
const val constraintLayout = "2.1.4"
const val dagger = "2.43.2"
const val dagger = "2.48"
const val materialComponents = "1.6.1"
const val apacheCommons = "3.12.0"
const val javaPoet = "1.13.0" // also in buildSrc build.gradle.kts file
const val kotlinPoet = "1.12.0"
const val incap = "0.3"
const val autoService = "1.0"
const val ksp = "1.8.0-1.0.9"
const val ksp = "1.9.0-1.0.13"
const val jUnit = "4.13.2"
const val jUnitExt = "1.1.2"
const val truth = "1.1.3"
Expand All @@ -96,6 +96,7 @@ object deps {

const val androidGradle = "com.android.tools.build:gradle:${versions.gradlePlugin}"
const val kotlinGradle = "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
const val kspGradle = "com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:${versions.ksp}"
const val daggerHiltGradle = "com.google.dagger:hilt-android-gradle-plugin:${versions.dagger}"
const val gradleVersions = "com.github.ben-manes:gradle-versions-plugin:${versions.gradleVersionsPlugin}"
const val dokka = "org.jetbrains.dokka:dokka-gradle-plugin:${versions.dokkaPlugin}"
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/java/Plugins.kt
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ fun PluginDependenciesSpec.kotlinKapt(): PluginDependencySpec {
}

fun PluginDependenciesSpec.ksp(): PluginDependencySpec {
return (id(PLUGIN_KSP) version versions.ksp)
return id(PLUGIN_KSP)
}

fun PluginDependenciesSpec.daggerHiltAndroid(): PluginDependencySpec {
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-all.zip
Binary file not shown.
Binary file not shown.

0 comments on commit 6c8b91b

Please sign in to comment.