This is an automated email from the ASF dual-hosted git repository. donaldp pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/buildr.git
commit 8fe3377130b2af6d482ddebe76f129e9471b22f9 Author: Peter Donald <pe...@realityforge.org> AuthorDate: Wed Nov 13 12:42:31 2019 +1100 Update to support null factorys so can create realized configurations --- lib/buildr/ide/idea.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/buildr/ide/idea.rb b/lib/buildr/ide/idea.rb index bd38f15..f05850e 100644 --- a/lib/buildr/ide/idea.rb +++ b/lib/buildr/ide/idea.rb @@ -742,11 +742,11 @@ module Buildr #:nodoc: end end - def add_configuration(name, type, factory_name, default = false, options = {}) + def add_configuration(name, type, factory_name = nil, default = false, options = {}) add_to_composite_component(self.configurations) do |xml| params = options.dup params[:type] = type - params[:factoryName] = factory_name + params[:factoryName] = factory_name if factory_name params[:name] = name unless default params[:default] = !!default xml.configuration(params) do