Hi! In parent `build.gradle.kts`: ``` subprojects ...
# gradle
c
Hi! In parent `build.gradle.kts`:
Copy code
subprojects {
  dependencies {
    implementation(platform(SpringBootPlugin.BOM_COORDINATES))
  }
}
in a subproject:
Copy code
dependencies {
  kapt("org.springframework.boot:spring-boot-configuration-processor")
}
result:
> Could not find org.springframework.bootspring boot configuration processor.
if I change
kapt
to
implementation
, dependency resolution will work, but obviously won't do what is needed. I know this is in part Spring question, but the problem seems to be more gradle than Spring. Basically there is a platform defined by BOM and there is a configuration defined by kapt plugin, gradle does not resolve dependency version for it.
e
Hi Alexander, Just guessing: the
kapt
configuration doesn’t extend
implementation
so the platform doesn’t apply to it.
c
ok, based on that I've added
kapt(platform(SpringBootPlugin.BOM_COORDINATES))
and now it is resolved, next problem is probably more suited for #spring or #intellij, even with resolved dependency configuration processor isn't doing its job