geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mbr...@apache.org
Subject geode git commit: GEODE-2708: Declare ANTLR Dependency For antlr Configuration
Date Wed, 14 Jun 2017 23:53:50 GMT
Repository: geode
Updated Branches:
  refs/heads/feature/gradle-3.4.1 a926056b7 -> 14232c6e4


GEODE-2708: Declare ANTLR Dependency For antlr Configuration

If no version is set for the antlr plugin, it will default to 2.7.7. However,
this was causing an issue for Eclipse and other IDE because the plugin was
modifying the antlr configuration after the initial dependency resolution was
done.

- Added antlr dependency to the antlr configuration

Verified by importing project into Eclipse and also running build from
command-line


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

Branch: refs/heads/feature/gradle-3.4.1
Commit: 14232c6e44bf222be2db1954cd7b3b775696f1f1
Parents: a926056
Author: Mark Bretl <mbretl@kollective.com>
Authored: Wed Jun 14 16:48:35 2017 -0700
Committer: Mark Bretl <mbretl@kollective.com>
Committed: Wed Jun 14 16:48:35 2017 -0700

----------------------------------------------------------------------
 geode-core/build.gradle | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/14232c6e/geode-core/build.gradle
----------------------------------------------------------------------
diff --git a/geode-core/build.gradle b/geode-core/build.gradle
index f07444a..f5714c6 100755
--- a/geode-core/build.gradle
+++ b/geode-core/build.gradle
@@ -15,7 +15,6 @@
  * limitations under the License.
  */
 
-
 apply plugin: 'antlr'
 
 sourceSets {
@@ -31,7 +30,8 @@ configurations {
 }
 
 dependencies {
-   // Source Dependencies
+  // Source Dependencies
+  antlr 'antlr:antlr:' + project.'antlr.version'
   // External
   provided files("${System.getProperty('java.home')}/../lib/tools.jar")
   compile 'com.github.stephenc.findbugs:findbugs-annotations:' + project.'stephenc-findbugs.version'


Mime
View raw message