-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consider indentation style and Java baseline in up-to-date checks
Closes gh-329
- Loading branch information
1 parent
d496c18
commit c63853c
Showing
5 changed files
with
94 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
...ormat-gradle/spring-javaformat-gradle-plugin/src/test/resources/check-spaces/build.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
buildscript { | ||
dependencies { | ||
classpath files(pluginClasspath.split(',')) | ||
} | ||
} | ||
|
||
apply plugin: 'java' | ||
apply plugin: 'io.spring.javaformat' | ||
|
||
sourceCompatibility = 1.8 |
15 changes: 15 additions & 0 deletions
15
...javaformat-gradle-plugin/src/test/resources/check-spaces/src/main/java/simple/Simple.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package simple; | ||
|
||
/** | ||
* Simple indented with spaces. | ||
* | ||
* @author Andy Wilkinson | ||
* @since 1.0.0 | ||
*/ | ||
public class Simple { | ||
|
||
public static void main(String[] args) throws Exception { | ||
// Main method | ||
} | ||
|
||
} |