File tree Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Original file line number Diff line number Diff line change @@ -41,24 +41,26 @@ subprojects {
41
41
}
42
42
43
43
allprojects {
44
- apply plugin : ' io.spring.javaformat'
45
- apply plugin : ' checkstyle'
44
+ if (! [' spring-security-bom' , ' spring-security-docs' ]. contains(project. name)) {
45
+ apply plugin : ' io.spring.javaformat'
46
+ apply plugin : ' checkstyle'
46
47
47
- pluginManager. withPlugin(" io.spring.convention.checkstyle" , { plugin ->
48
- configure(plugin) {
49
- dependencies {
50
- checkstyle " io.spring.javaformat:spring-javaformat-checkstyle:$springJavaformatVersion "
48
+ pluginManager. withPlugin(" io.spring.convention.checkstyle" , { plugin ->
49
+ configure(plugin) {
50
+ dependencies {
51
+ checkstyle " io.spring.javaformat:spring-javaformat-checkstyle:$springJavaformatVersion "
52
+ }
53
+ checkstyle {
54
+ toolVersion = ' 8.34'
55
+ }
51
56
}
52
- checkstyle {
53
- toolVersion = ' 8.34'
54
- }
55
- }
56
- })
57
+ })
57
58
58
- if (project. name. contains(' sample' )) {
59
- tasks. whenTaskAdded { task ->
60
- if (task. name. contains(' format' ) || task. name. contains(' checkFormat' ) || task. name. contains(" checkstyle" )) {
61
- task. enabled = false
59
+ if (project. name. contains(' sample' )) {
60
+ tasks. whenTaskAdded { task ->
61
+ if (task. name. contains(' format' ) || task. name. contains(' checkFormat' ) || task. name. contains(" checkstyle" )) {
62
+ task. enabled = false
63
+ }
62
64
}
63
65
}
64
66
}
You can’t perform that action at this time.
0 commit comments