@@ -34,18 +34,18 @@ extra["testLatestDeps"] = testLatestDeps
3434abstract class TestLatestDepsRule : ComponentMetadataRule {
3535 override fun execute (context : ComponentMetadataContext ) {
3636 val version = context.details.id.version
37- if (version.contains(" -alpha" , true ) ||
38- version.contains(" -beta" , true ) ||
39- version.contains(" -rc" , true ) ||
40- version.contains(" .rc" , true ) ||
41- version.contains(" -m" , true ) || // e.g. spring milestones are published to grails repo
42- version.contains(" .m" , true ) || // e.g. lettuce
43- version.contains(" .alpha" , true ) || // e.g. netty
44- version.contains(" .beta" , true ) || // e.g. hibernate
45- version.contains(" .cr" , true ) || // e.g. hibernate
46- version.endsWith(" -nf-execution" ) || // graphql
47- GIT_SHA_PATTERN .matches(version) || // graphql
48- DATETIME_PATTERN .matches(version) // graphql
37+ if (version.contains(" -alpha" , true )
38+ || version.contains(" -beta" , true )
39+ || version.contains(" -rc" , true )
40+ || version.contains(" .rc" , true )
41+ || version.contains(" -m" , true ) // e.g. spring milestones are published to grails repo
42+ || version.contains(" .m" , true ) // e.g. lettuce
43+ || version.contains(" .alpha" , true ) // e.g. netty
44+ || version.contains(" .beta" , true ) // e.g. hibernate
45+ || version.contains(" .cr" , true ) // e.g. hibernate
46+ || version.endsWith(" -nf-execution" ) // graphql
47+ || GIT_SHA_PATTERN .matches(version) // graphql
48+ || DATETIME_PATTERN .matches(version) // graphql
4949 ) {
5050 context.details.status = " milestone"
5151 }
0 commit comments