From fc55b92ed76836ded814149628828bc424bd3af1 Mon Sep 17 00:00:00 2001 From: Charles Oliver Nutter Date: Thu, 23 Feb 2017 09:37:22 -0600 Subject: Remove load of psych during gem builds and bump snakeyaml to 1.18. Fixes #293. Fixes jruby/jruby#4492. --- Rakefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 5238b7a..a72ca50 100644 --- a/Rakefile +++ b/Rakefile @@ -1,5 +1,3 @@ -$LOAD_PATH.unshift './lib' -load 'psych/versions.rb' require "bundler/gem_tasks" require "rake/testtask" @@ -19,7 +17,7 @@ if RUBY_PLATFORM =~ /java/ # and tell maven via system properties the snakeyaml version # this is basically the same as running from the commandline: # rmvn dependency:build-classpath -Dsnakeyaml.version='use version from Psych::DEFAULT_SNAKEYAML_VERSION here' - Maven::Ruby::Maven.new.exec('dependency:build-classpath', "-Dsnakeyaml.version=1.17", '-Dverbose=true') + Maven::Ruby::Maven.new.exec('dependency:build-classpath', "-Dsnakeyaml.version=1.18", '-Dverbose=true') ext.source_version = '1.7' ext.target_version = '1.7' ext.classpath = File.read('pkg/classpath') -- cgit v1.2.1