Skip to content

Commit cb8e254

Browse files
Force gRPC version
1 parent ee7de71 commit cb8e254

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ buildscript {
7474
dependencies {
7575
classpath(mcJava.pluginLib)
7676
classpath(enforcedPlatform(io.spine.dependency.kotlinx.Coroutines.bom))
77+
classpath(enforcedPlatform(io.spine.dependency.lib.Grpc.bom))
7778
}
7879
}
7980

buildSrc/src/main/kotlin/module.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ fun Module.forceConfigurations() {
131131
// Exclude in favor of `spine-validation-java-runtime`.
132132
exclude("io.spine", "spine-validate")
133133
resolutionStrategy {
134+
Grpc.forceArtifacts(project, this@all, this@resolutionStrategy)
134135
force(
135136
Kotlin.GradlePlugin.api,
136137
KotlinPoet.ksp,

tests/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ allprojects {
130130
excludeProtobufLite()
131131
all {
132132
resolutionStrategy {
133+
Grpc.forceArtifacts(project, this@all, this@resolutionStrategy)
133134
force(
134135
KotlinPoet.lib,
135136
Reflect.lib,

0 commit comments

Comments
 (0)