Czar
09/03/2019, 6:55 AMsubprojects {
dependencies {
implementation(platform(SpringBootPlugin.BOM_COORDINATES))
}
}
in a subproject:
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.eskatos
09/03/2019, 7:29 AMkapt
configuration doesn’t extend implementation
so the platform doesn’t apply to it.Czar
09/03/2019, 9:32 AMkapt(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