Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Need to enhance :eclipse task itself (not just dependencies) to get a…

…rtifacts set up correctly
  • Loading branch information...
commit 81abeabb867d099576e895e5a85511bd6d29e0d8 1 parent c57d8b5
@aboisvert aboisvert authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/buildr/ivy_extension.rb
View
2  lib/buildr/ivy_extension.rb
@@ -564,7 +564,7 @@ def add_ivy_deps_to_java_tasks(project)
project.task :javadoc => "#{project.name}:javadocdeps"
[project.task(:eclipse), project.task(:idea), project.task(:idea7x)].each do |task|
- task.prerequisites.each{|p| p.enhance ["#{project.name}:compiledeps", "#{project.name}:testdeps"]}
+ [task, task.prerequisites].flatten.each{|p| p.enhance ["#{project.name}:compiledeps", "#{project.name}:testdeps"]}
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.