The Spring DevTools doc says in its most ranked page that the package should be included this way:
dependencies {
compileOnly("org.springframework.boot:spring-boot-devtools")
}
Which does not work as discussed in #14451. And on this page it says it should be:
dependencies {
compile("org.springframework.boot:spring-boot-devtools")
}
While the correct one seems to be what this page says::
dependencies {
developmentOnly("org.springframework.boot:spring-boot-devtools")
}
Comment From: wilkinsona
Thanks for the report. Unfortunately, we have very little control over search page rankings. We believe that our planned move to Antora-based documentation will help with this. Until then, please double-check that you're reading the documentation that matches the version of Spring Boot that you're using.
Comment From: yousoumar
Hi @wilkinsona ! I see. The tricky part is that the version is only mentioned in the URL, where not meany people look, and also, some browsers like Safari do not show the full URL by default.
Comment From: wilkinsona
Unfortunately, we can't change documentation that's already been released and published as it's built from an immutable tag in this repository. The move to Antora will help with showing the version number as well. See Spring Framework's documentation for example.
Comment From: yousoumar
Thanks for the answers, and for all the effort in making this awesome framework!