You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by je...@apache.org on 2016/12/23 21:51:00 UTC

geode git commit: GEODE-2243: reference the formatter relative to geode-core and not the root project

Repository: geode
Updated Branches:
  refs/heads/develop b41c152d2 -> 92a76dc50


GEODE-2243: reference the formatter relative to geode-core and not the root project


Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/92a76dc5
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/92a76dc5
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/92a76dc5

Branch: refs/heads/develop
Commit: 92a76dc50e0d7772dc9b1476a756f287a1bf9fa2
Parents: b41c152
Author: Jens Deppe <jd...@pivotal.io>
Authored: Wed Dec 21 18:38:15 2016 -0800
Committer: Jens Deppe <jd...@pivotal.io>
Committed: Fri Dec 23 13:46:35 2016 -0800

----------------------------------------------------------------------
 build.gradle | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/92a76dc5/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 3dcdf1e..c991535 100755
--- a/build.gradle
+++ b/build.gradle
@@ -95,7 +95,9 @@ subprojects {
         include '**/*.java'
         exclude '**/generated-src/**'
       }
-      eclipseFormatFile "${rootProject.projectDir}/etc/eclipse-java-google-style.xml"
+      // The formatter is relative to geode-core and not the root project as the root project would change
+      // if Geode and submodules are included as part of a different gradle project.
+      eclipseFormatFile "${project(':geode-core').projectDir}/../etc/eclipse-java-google-style.xml"
     }
   }
 }