File tree Expand file tree Collapse file tree 3 files changed +8
-12
lines changed
servlet/spring-boot/java/saml2 Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Original file line number Diff line number Diff line change
1
+ import io.spring.javaformat.gradle.tasks.Format
2
+
1
3
plugins {
2
4
id " checkstyle"
3
5
id " io.spring.javaformat" version " 0.0.42"
@@ -49,6 +51,12 @@ allprojects {
49
51
tasks. matching { it. name == " checkstyleAotTest" }. all { task ->
50
52
task. enabled = false
51
53
}
54
+
55
+ tasks. withType(Format ). tap {
56
+ configureEach {
57
+ it. enabled = ! it. identityPath. toString(). contains(" saml2" )
58
+ }
59
+ }
52
60
}
53
61
54
62
if (hasProperty(' buildScan' )) {
Original file line number Diff line number Diff line change @@ -15,12 +15,6 @@ repositories {
15
15
sourceSets. main. java. srcDirs + = " $projectDir /../identity-provider/src/main/java"
16
16
sourceSets. main. resources. srcDirs + = " $projectDir /../identity-provider/src/main/resources"
17
17
18
- if (plugins. hasPlugin(" io.spring.javaformat" )) {
19
- tasks. formatMain {
20
- dependsOn(" :servlet:spring-boot:java:saml2:identity-provider:formatMain" )
21
- }
22
- }
23
-
24
18
dependencies {
25
19
constraints {
26
20
implementation " org.opensaml:opensaml-saml-api:5.1.3"
Original file line number Diff line number Diff line change @@ -15,12 +15,6 @@ repositories {
15
15
sourceSets. main. java. srcDirs + = " $projectDir /../identity-provider/src/main/java"
16
16
sourceSets. main. resources. srcDirs + = " $projectDir /../identity-provider/src/main/resources"
17
17
18
- if (plugins. hasPlugin(" io.spring.javaformat" )) {
19
- tasks. formatMain {
20
- dependsOn(" :servlet:spring-boot:java:saml2:identity-provider:formatMain" )
21
- }
22
- }
23
-
24
18
dependencies {
25
19
constraints {
26
20
implementation " org.opensaml:opensaml-saml-api:5.1.3"
You can’t perform that action at this time.
0 commit comments