Skip to content

Commit

Permalink
Merge pull request #853 from square/joel.kotlin-bom
Browse files Browse the repository at this point in the history
Include the kotlin BOM, primarily for lagging transitive kotlin-refle…
  • Loading branch information
JoelWilcox authored Jan 25, 2024
2 parents f772d7d + d13c27f commit 38fee3b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions compiler-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ publish {
dependencies {
api(project(":annotations"))
api(libs.kotlin.compiler)

implementation(platform(libs.kotlin.bom))
}
3 changes: 2 additions & 1 deletion compiler-api/dependencies/runtimeClasspath.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
org.jetbrains.intellij.deps:trove4j:1.0.20200330
org.jetbrains.kotlin:kotlin-bom:1.9.22
org.jetbrains.kotlin:kotlin-compiler-embeddable:1.9.22
org.jetbrains.kotlin:kotlin-daemon-embeddable:1.9.22
org.jetbrains.kotlin:kotlin-reflect:1.6.10
org.jetbrains.kotlin:kotlin-reflect:1.9.22
org.jetbrains.kotlin:kotlin-script-runtime:1.9.22
org.jetbrains.kotlin:kotlin-stdlib:1.9.22
org.jetbrains:annotations:13.0
1 change: 1 addition & 0 deletions compiler-utils/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ dependencies {
api(libs.kotlin.compiler)
api(libs.kotlinpoet)

implementation(platform(libs.kotlin.bom))
implementation(libs.dagger2)
implementation(libs.inject)

Expand Down
1 change: 1 addition & 0 deletions compiler-utils/dependencies/runtimeClasspath.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ com.squareup:kotlinpoet-jvm:1.16.0
com.squareup:kotlinpoet:1.16.0
javax.inject:javax.inject:1
org.jetbrains.intellij.deps:trove4j:1.0.20200330
org.jetbrains.kotlin:kotlin-bom:1.9.22
org.jetbrains.kotlin:kotlin-compiler-embeddable:1.9.22
org.jetbrains.kotlin:kotlin-daemon-embeddable:1.9.22
org.jetbrains.kotlin:kotlin-reflect:1.9.22
Expand Down
1 change: 1 addition & 0 deletions compiler/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ dependencies {
implementation(project(":annotations"))
implementation(project(":compiler-api"))
implementation(project(":compiler-utils"))
implementation(platform(libs.kotlin.bom))
implementation(libs.dagger2)
implementation(libs.jsr250)
implementation(libs.kotlinpoet)
Expand Down
1 change: 1 addition & 0 deletions compiler/dependencies/runtimeClasspath.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ com.squareup:kotlinpoet:1.16.0
javax.annotation:jsr250-api:1.0
javax.inject:javax.inject:1
org.jetbrains.intellij.deps:trove4j:1.0.20200330
org.jetbrains.kotlin:kotlin-bom:1.9.22
org.jetbrains.kotlin:kotlin-compiler-embeddable:1.9.22
org.jetbrains.kotlin:kotlin-daemon-embeddable:1.9.22
org.jetbrains.kotlin:kotlin-reflect:1.9.22
Expand Down
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ kotest-assertions-api = { module = "io.kotest:kotest-assertions-api", version.re
kotest-assertions-core-jvm = { module = "io.kotest:kotest-assertions-core-jvm", version.ref = "kotest" }

kotlin-annotationProcessingEmbeddable = { module = "org.jetbrains.kotlin:kotlin-annotation-processing-embeddable", version.ref = "kotlin" }
kotlin-bom = { module = "org.jetbrains.kotlin:kotlin-bom", version.ref = "kotlin" }
kotlin-compileTesting = { module = "dev.zacsweers.kctfork:core", version.ref = "kct" }
kotlin-compileTesting-ksp = { module = "dev.zacsweers.kctfork:ksp", version.ref = "kct" }
kotlin-compiler = { module = "org.jetbrains.kotlin:kotlin-compiler-embeddable", version.ref = "kotlin" }
Expand Down

0 comments on commit 38fee3b

Please sign in to comment.