Skip to content

Commit

Permalink
build: use kotlin gradle plugin version correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
fractalwrench committed Feb 1, 2024
1 parent 8024936 commit 278a4d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ repositories {
dependencies {
compileOnly(gradleApi())

// TODO: future - these versions must be kept in sync when updating buildscript deps.
// NOTE: when updating any of these keep in sync with buildSrc/src/main/kotlin/io/embrace/gradle/Versions.kt
implementation("com.android.tools.build:gradle:7.4.2")
implementation("io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.0")
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.32")
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.21")
implementation("org.jetbrains.kotlinx:binary-compatibility-validator:0.14.0")
}

Expand Down
6 changes: 3 additions & 3 deletions buildSrc/src/main/kotlin/io/embrace/gradle/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ object Versions {
@JvmField
val junit = "4.13.2"

// NOTE: when updating keep this in sync with the version in buildSrc/build.gradle.kts
@JvmField
val kotlin = "1.7.21"

Expand All @@ -23,12 +24,11 @@ object Versions {
@JvmField
val dokka = "1.9.10"

// NOTE: when updating keep this in sync with the version in buildSrc/build.gradle.kts
@JvmField
val detekt = "1.23.0" // kotlin 1.9 required before any further upgrades

@JvmField
val binaryCompatValidator = "0.14.0"

// NOTE: when updating keep this in sync with the version in buildSrc/build.gradle.kts
@JvmField
val agp = "7.4.2"

Expand Down

0 comments on commit 278a4d1

Please sign in to comment.