Configures the `basePath` on Detekt tasks to use a relative path from
the root project. This prevents absolute paths from being used during
analysis, avoiding cross-machine build cache misses and ensuring the
task is fully relocatable.
See: https://github.com/detekt/detekt/issues/7170
Signed-off-by: Eric Haag <ehaag@gradle.com>
See gh-49937
Micrometer Tracing's bom isn't a pure bill of materials for the
Micrometer Tracing project as it also imports Micrometer's bom.
As Boot itself also imports Micrometer's bom this can lead to
conflicts when the versions do not all align. For example, at the
time of writing, Boot is using 1.5.10-SNAPSHOT of Micrometer Tracing
and trying to use 1.15.10-SNAPSHOT of Micrometer. This results in some
conflicts as the Micrometer Tracing bom imports 1.15.9 of the
Micrometer bom.
Closes gh-49456
Refine `buildSrc` so that `spring.mavenRepositories()` are considered
for all build types (not just milestones and snapshots). We now pass
"springFrameworkVersion" to `SpringRepositorySupport.groovy` so that
repo.spring.io doesn't get added for OSS builds using release artifacts.
Closes gh-46823
Add the `since` field to all deprecated properties in all
additional-spring-configuration-metadata.json files in the project.
Add to the CheckAdditionalSpringConfigurationMetadata build task to
ensure that all deprecated properties have a non-empty `since` field.
See gh-47980
Signed-off-by: Scott Frederick <scottyfred@gmail.com>
Add an architecture rule to ensure that all usages of
`@DeprecatedConfigurationProperty` in the Spring Boot codebase include
the `since` attribute.
Add the `since` attribute to the few places where it was not already
included.
See gh-47980
Signed-off-by: Scott Frederick <scottyfred@gmail.com>
This commit adds a 'org.springframework.boot.configuration-metadata'
plugin to be used for projects that only define manual metadata. Such
project do not need the annotation processor, but do not to check that
the structure of the metadata content matches the same rules.
Closes gh-47984
Previously, the Kotlin API docs included Java APIs. This commit
corrects this by suppressing all Dokkatoo source sets other than
main (main in src/main/kotlin, javaMain is src/main/java).
Dokkatoo is sensitive to the order in which plugins are applied. This
commit adapts to the sensitivity by changing the order in which
the Dokatoo and Kotlin JVM plugins are applied. This prevents the
Dokatoo plugin for overwriting the configuration that's applied by
our Kotlin conventions.
Closes gh-47763