Skip to content

Commit

Permalink
remove compare version of jar-dependencies in Rakefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
hippolin committed Nov 3, 2016
1 parent f846cd3 commit 7971858
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Rakefile
Expand Up @@ -14,13 +14,7 @@ desc 'Install the JAR dependencies to vendor/'
task :install_jars do
# We actually want jar-dependencies will download the jars and place it in
# vendor/jar-dependencies/runtime-jars
if Gem::Version.new(Jars::VERSION) >= Gem::Version.new('0.3.4')
Jars::Installer.new.vendor_jars!(false, 'vendor/jar-dependencies/runtime-jars')
else
ENV['JARS_HOME'] = Dir.pwd + "/vendor/jar-dependencies/runtime-jars"
ENV['JARS_VENDOR'] = "false"
Jars::Installer.new.vendor_jars!(false)
end
Jars::Installer.new.vendor_jars!(false, 'vendor/jar-dependencies/runtime-jars')
end

task build: :install_jars

0 comments on commit 7971858

Please sign in to comment.