def install_jarfile(*args)
      root_path ||= Pathname.new(File.expand_path('../../..', __FILE__))
      jarfile_path = root_path.join('Jarfile')
      File.open(jarfile_path.to_s, 'w') do |f|
        f.puts args.last
      end
    end
def install_jarfile(*args)
      root_path ||= Pathname.new(File.expand_path('../../..', __FILE__))
      jarfile_path = root_path.join('Jarfile')
      File.open(jarfile_path.to_s, 'w') do |f|
        f.puts args.last
      end
    end
rubocop:enable Style/GlobalVars