File tree Expand file tree Collapse file tree 2 files changed +19
-13
lines changed
conventions/src/main/kotlin
instrumentation/grails-3.0/javaagent Expand file tree Collapse file tree 2 files changed +19
-13
lines changed Original file line number Diff line number Diff line change @@ -85,24 +85,19 @@ if (project == rootProject) {
8585 " .gitattributes" ,
8686 " .gitconfig" ,
8787 " .editorconfig" ,
88- " **/*.md" ,
89- " **/*.sh" ,
90- " **/*.dockerfile" ,
91- " **/gradle.properties"
88+ " *.md" ,
89+ " gradle.properties" ,
90+ " .github/**/*.md" ,
91+ " .github/**/*.sh" ,
92+ " docs/**/*.md" ,
93+ " examples/**/*.md" ,
94+ " examples/**/gradle.properties" ,
95+ " licenses/**/*.md"
9296 )
9397 leadingTabsToSpaces()
9498 trimTrailingWhitespace()
9599 endWithNewline()
96100 }
97- groovy {
98- target(" **/*.groovy" )
99- targetExclude(" **/build/**" )
100- licenseHeaderFile(
101- rootProject.file(" buildscripts/spotless.license.java" ),
102- " (package|import|(?:abstract )?class)"
103- )
104- endWithNewline()
105- }
106101 predeclareDeps()
107102 }
108103
Original file line number Diff line number Diff line change @@ -61,6 +61,17 @@ configurations.testRuntimeClasspath {
6161 }
6262}
6363
64+ spotless {
65+ groovy {
66+ target(" src/**/*.groovy" )
67+ licenseHeaderFile(
68+ rootProject.file(" buildscripts/spotless.license.java" ),
69+ " (package|import|(?:abstract )?class)"
70+ )
71+ endWithNewline()
72+ }
73+ }
74+
6475tasks {
6576 withType<Test >().configureEach {
6677 systemProperty(" testLatestDeps" , latestDepTest)
You can’t perform that action at this time.
0 commit comments