Repository: buildr Updated Branches: refs/heads/master e006009c1 -> ac7a560ff
Update gwt addon to add the GWT artifacts to project dependencies as specs rather than files. Makes it possible to derive gwt version from spec when the dependencies are chained to other projects Project: http://git-wip-us.apache.org/repos/asf/buildr/repo Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/ac7a560f Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/ac7a560f Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/ac7a560f Branch: refs/heads/master Commit: ac7a560ff029dd3a7d3c7f6a30d1c3da0488d565 Parents: e006009 Author: Peter Donald <[email protected]> Authored: Mon Apr 4 10:23:23 2016 +1000 Committer: Peter Donald <[email protected]> Committed: Mon Apr 4 10:23:23 2016 +1000 ---------------------------------------------------------------------- CHANGELOG | 2 ++ addon/buildr/gwt.rb | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/buildr/blob/ac7a560f/CHANGELOG ---------------------------------------------------------------------- diff --git a/CHANGELOG b/CHANGELOG index f5bfed1..605b4f7 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ 1.4.25 (Pending) * Change: BUILDR-712 Update jruby-openssl dependency version or support a range of versions +* Change: Update gwt addon to add the GWT artifacts to project dependencies as specs rather + than files. 1.4.24 (2016-03-19) * Added: Support the :no_invoke parameter being passed to Buildr.project() and http://git-wip-us.apache.org/repos/asf/buildr/blob/ac7a560f/addon/buildr/gwt.rb ---------------------------------------------------------------------- diff --git a/addon/buildr/gwt.rb b/addon/buildr/gwt.rb index 8e22b61..4de3cc1 100644 --- a/addon/buildr/gwt.rb +++ b/addon/buildr/gwt.rb @@ -136,8 +136,8 @@ module Buildr Buildr::GWT.dependencies(version).each do |d| a = artifact(d) a.invoke if a.respond_to?(:invoke) - project.iml.main_dependencies << a.to_s unless !project.iml? || existing_deps.include?(a.to_s) - project.compile.dependencies << a.to_s unless existing_deps.include?(a.to_s) + project.iml.main_dependencies << a unless !project.iml? || existing_deps.include?(a.to_s) + project.compile.dependencies << a unless existing_deps.include?(a.to_s) additional_gwt_deps << a end
