lib/buildr/ivy_extension.rb in ivy4r-0.8.0 vs lib/buildr/ivy_extension.rb in ivy4r-0.8.1
- old
+ new
@@ -82,11 +82,10 @@
end
# Returns the artifacts for given configurations as array
# this is a post resolve task.
def deps(*confs)
- configure
confs = confs.reject {|c| c.nil? || c.blank? }
unless confs.empty?
pathid = "ivy.deps." + confs.join('.')
ivy4r.cachepath :conf => confs.join(','), :pathid => pathid
end
@@ -585,17 +584,9 @@
desc 'Creates a dependency report for the project'
task :report
desc 'Clean the local Ivy cache and the local ivy repository'
task :clean
- end
- end
-
- before_define do |project|
- if project.parent.nil? && project.ivy.enabled?
- info = project.ivy.info
- project.version = info['ivy.revision']
- project.group = "#{info['ivy.organisation']}.#{info['ivy.module']}"
end
end
after_define do |project|
if project.ivy.enabled?