See https://github.com/spring-projects/spring-boot/issues/32457

Adds the possibility to filter dependency upgrades based on the ending with endsWith or a substring with contains:

    library("MSSQL JDBC", "10.2.2.jre8") {
        prohibit {
            endsWith ".jre8-preview"
        }

or

    library("MSSQL JDBC", "10.2.2.jre8") {
        prohibit {
            contains ".jre11"
        }

I also refactored the existing prohibit with the version range to this:

``` library("SAAJ Impl", "1.5.3") { prohibit { versionRange "[2.0.0-M1,)" because "it uses the jakarta.* namespace" } ````

Let me know what you think!

Comment From: mhalbritter

Directly merged it, no need for this PR anymore.