Skip to content

Commit 4d74803

Browse files
committed
spotless apply
1 parent 3b9b939 commit 4d74803

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

plugin-gradle/src/main/java/com/diffplug/gradle/spotless/JavaExtension.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2024 DiffPlug
2+
* Copyright 2016-2025 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

plugin-gradle/src/test/java/com/diffplug/gradle/spotless/JavaDefaultTargetTest.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,17 @@ void removeUnusedImportsWithCleanthat() throws IOException {
8484
@Test
8585
void removeWildCardImports() throws IOException {
8686
setFile("build.gradle").toLines(
87-
"plugins {",
88-
" id 'com.diffplug.spotless'",
89-
"}",
90-
"repositories { mavenCentral() }",
91-
"",
92-
"spotless {",
93-
" java {",
94-
" target file('test.java')",
95-
" removeWildcardImports()",
96-
" }",
97-
"}");
87+
"plugins {",
88+
" id 'com.diffplug.spotless'",
89+
"}",
90+
"repositories { mavenCentral() }",
91+
"",
92+
"spotless {",
93+
" java {",
94+
" target file('test.java')",
95+
" removeWildcardImports()",
96+
" }",
97+
"}");
9898

9999
setFile("test.java").toResource("java/removewildcardimports/JavaCodeWildcardsUnformatted.test");
100100
gradleRunner().withArguments("spotlessApply").build();

0 commit comments

Comments
 (0)