You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by mc...@apache.org on 2018/11/20 20:41:50 UTC
[geode] branch develop updated: GEODE-6073: All files have lf
endings (#2873)
This is an automated email from the ASF dual-hosted git repository.
mcmellawatt pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/develop by this push:
new be99d7b GEODE-6073: All files have lf endings (#2873)
be99d7b is described below
commit be99d7be0dd92159fc69856b8d26a046c3989e37
Author: M. Oleske <mo...@users.noreply.github.com>
AuthorDate: Tue Nov 20 12:41:41 2018 -0800
GEODE-6073: All files have lf endings (#2873)
- Spotless no longer uses line endings check as it is not recommened
- https://github.com/diffplug/spotless/tree/master/plugin-gradle#line-endings-and-encodings-invisible-stuff
---
.gitattributes | 2 +-
ci/scripts/windows/test-run.sh | 2 +-
gradle/spotless.gradle | 1 -
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/.gitattributes b/.gitattributes
index 36dd437..fcadb2c 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1 @@
-*.java text=auto eol=lf
+* text eol=lf
diff --git a/ci/scripts/windows/test-run.sh b/ci/scripts/windows/test-run.sh
index 43c6cf3..99c6255 100755
--- a/ci/scripts/windows/test-run.sh
+++ b/ci/scripts/windows/test-run.sh
@@ -40,7 +40,7 @@ directories_file=${DEST_DIR}/artifact_directories
echo "GRADLE_TASK = ${GRADLE_TASK}"
echo "BASE_FILENAME = ${BASE_FILENAME}"
-DEFAULT_GRADLE_TASK_OPTIONS="--no-daemon -x javadoc -x spotlessCheck"
+DEFAULT_GRADLE_TASK_OPTIONS="--no-daemon -x javadoc"
if [[ -n "${GRADLE_TEST_CATEGORY}" ]]; then
GRADLE_TASK_OPTIONS="-PtestCategory=${GRADLE_TEST_CATEGORY}"
diff --git a/gradle/spotless.gradle b/gradle/spotless.gradle
index 9b40405..9910aaa 100644
--- a/gradle/spotless.gradle
+++ b/gradle/spotless.gradle
@@ -18,7 +18,6 @@
subprojects {
apply plugin: "com.diffplug.gradle.spotless"
spotless {
- lineEndings = 'unix'
java {
target project.fileTree(project.projectDir) {
include '**/*.java'