Skip to content

Commit bc9b331

Browse files
committed
Prohibit more preview releases
1 parent 768de9a commit bc9b331

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

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

+28-1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ bom {
7777
}
7878
}
7979
library("AssertJ", "${assertjVersion}") {
80+
prohibit {
81+
contains "-M"
82+
contains "-RC"
83+
because "we don't want milestones or release candidates"
84+
}
8085
group("org.assertj") {
8186
bom("assertj-bom")
8287
}
@@ -329,6 +334,12 @@ bom {
329334
}
330335
}
331336
library("Elasticsearch Client", "8.17.4") {
337+
prohibit {
338+
contains "-alpha"
339+
contains "-beta"
340+
contains "-rc"
341+
because "we don't want preview releases"
342+
}
332343
alignWith {
333344
version {
334345
from "org.springframework.data:spring-data-elasticsearch"
@@ -444,7 +455,7 @@ bom {
444455
library("GraphQL Java", "23.0") {
445456
prohibit {
446457
startsWith(["2018-", "2019-", "2020-", "2021-", "230521-"])
447-
because "These are snapshots that we don't want to see"
458+
because "we don't want thses snapshots"
448459
}
449460
alignWith {
450461
version {
@@ -607,6 +618,12 @@ bom {
607618
}
608619
}
609620
library("HttpAsyncClient", "4.1.5") {
621+
prohibit {
622+
contains "-alpha"
623+
contains "-beta"
624+
contains "-rc"
625+
because "we don't want preview releases"
626+
}
610627
group("org.apache.httpcomponents") {
611628
modules = [
612629
"httpasyncclient" {
@@ -616,6 +633,12 @@ bom {
616633
}
617634
}
618635
library("HttpClient5", "5.4.3") {
636+
prohibit {
637+
contains "-alpha"
638+
contains "-beta"
639+
contains "-rc"
640+
because "we don't want preview releases"
641+
}
619642
group("org.apache.httpcomponents.client5") {
620643
modules = [
621644
"httpclient5",
@@ -664,6 +687,10 @@ bom {
664687
}
665688
}
666689
library("Jackson Bom", "${jacksonVersion}") {
690+
prohibit {
691+
contains "-rc"
692+
because "we don't want release candidates"
693+
}
667694
group("com.fasterxml.jackson") {
668695
bom("jackson-bom")
669696
}

0 commit comments

Comments
 (0)