geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jensde...@apache.org
Subject geode git commit: GEODE-2243: reference the formatter relative to geode-core and not the root project
Date Fri, 23 Dec 2016 21:51:00 GMT
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 <jdeppe@pivotal.io>
Authored: Wed Dec 21 18:38:15 2016 -0800
Committer: Jens Deppe <jdeppe@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"
     }
   }
 }


Mime
View raw message