Browse Source

Prohibit more preview releases

pull/45173/head
Phillip Webb 9 months ago
parent
commit
bc9b331b1d
  1. 29
      spring-boot-project/spring-boot-dependencies/build.gradle

29
spring-boot-project/spring-boot-dependencies/build.gradle

@ -77,6 +77,11 @@ bom {
} }
} }
library("AssertJ", "${assertjVersion}") { library("AssertJ", "${assertjVersion}") {
prohibit {
contains "-M"
contains "-RC"
because "we don't want milestones or release candidates"
}
group("org.assertj") { group("org.assertj") {
bom("assertj-bom") bom("assertj-bom")
} }
@ -329,6 +334,12 @@ bom {
} }
} }
library("Elasticsearch Client", "8.17.4") { library("Elasticsearch Client", "8.17.4") {
prohibit {
contains "-alpha"
contains "-beta"
contains "-rc"
because "we don't want preview releases"
}
alignWith { alignWith {
version { version {
from "org.springframework.data:spring-data-elasticsearch" from "org.springframework.data:spring-data-elasticsearch"
@ -444,7 +455,7 @@ bom {
library("GraphQL Java", "23.0") { library("GraphQL Java", "23.0") {
prohibit { prohibit {
startsWith(["2018-", "2019-", "2020-", "2021-", "230521-"]) startsWith(["2018-", "2019-", "2020-", "2021-", "230521-"])
because "These are snapshots that we don't want to see" because "we don't want thses snapshots"
} }
alignWith { alignWith {
version { version {
@ -607,6 +618,12 @@ bom {
} }
} }
library("HttpAsyncClient", "4.1.5") { library("HttpAsyncClient", "4.1.5") {
prohibit {
contains "-alpha"
contains "-beta"
contains "-rc"
because "we don't want preview releases"
}
group("org.apache.httpcomponents") { group("org.apache.httpcomponents") {
modules = [ modules = [
"httpasyncclient" { "httpasyncclient" {
@ -616,6 +633,12 @@ bom {
} }
} }
library("HttpClient5", "5.4.3") { library("HttpClient5", "5.4.3") {
prohibit {
contains "-alpha"
contains "-beta"
contains "-rc"
because "we don't want preview releases"
}
group("org.apache.httpcomponents.client5") { group("org.apache.httpcomponents.client5") {
modules = [ modules = [
"httpclient5", "httpclient5",
@ -664,6 +687,10 @@ bom {
} }
} }
library("Jackson Bom", "${jacksonVersion}") { library("Jackson Bom", "${jacksonVersion}") {
prohibit {
contains "-rc"
because "we don't want release candidates"
}
group("com.fasterxml.jackson") { group("com.fasterxml.jackson") {
bom("jackson-bom") bom("jackson-bom")
} }

Loading…
Cancel
Save