From 48de9820ccbf187cae3d9e26ccdb8a92807ef2d8 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Tue, 16 Aug 2016 22:42:12 +0200 Subject: [PATCH] Remove explicit line endings configuration for Spotless Due to the recent upgrade to Spotless 2.0, it should (theoretically) no longer be necessary to provide explicit `lineEndings` configuration. Issue: #404 --- build.gradle | 3 --- 1 file changed, 3 deletions(-) diff --git a/build.gradle b/build.gradle index 6c8c2604e665..0ab425f41294 100644 --- a/build.gradle +++ b/build.gradle @@ -96,7 +96,6 @@ allprojects { eclipseFormatFile rootProject.file('src/eclipse/junit-eclipse-formatter-settings.xml') trimTrailingWhitespace() - lineEndings 'UNIX' endWithNewline() custom 'Lambda fix', { it.replace('} )', '})').replace('} ,', '},') } @@ -396,13 +395,11 @@ configure(rootProject) { target '**/*.gradle', '**/*.gitignore' indentWithTabs() trimTrailingWhitespace() - lineEndings 'UNIX' endWithNewline() } format 'documentation', { target '**/*.adoc', '**/*.md' trimTrailingWhitespace() - lineEndings 'UNIX' endWithNewline() } }