This repository has been archived by the owner on May 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply spotless. Fix esplugin application.
- Loading branch information
Showing
25 changed files
with
3,835 additions
and
3,795 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
allprojects { prj -> | ||
plugins.withType(JavaPlugin) { | ||
prj.apply plugin: 'com.diffplug.gradle.spotless' | ||
|
||
spotless { | ||
java { | ||
licenseHeaderFile rootProject.file("gradle/validation/spotless/source-header.txt") | ||
lineEndings 'UNIX' | ||
endWithNewline() | ||
googleJavaFormat('1.8') | ||
} | ||
|
||
check.dependsOn(spotlessCheck) | ||
} | ||
|
||
task tidy() { | ||
description "Applies formatters and cleanups to sources." | ||
group "verification" | ||
|
||
dependsOn spotlessApply | ||
} | ||
} | ||
} |
Empty file.
Oops, something went wrong.