From cb13c8b48797454767092ddfa135d749309e0a76 Mon Sep 17 00:00:00 2001 From: Charles Oliver Nutter Date: Tue, 13 Dec 2016 16:36:50 -0600 Subject: Hardcode Snakeyaml versions to avoid conflict with JRuby consts. --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index e110e6b..cdebacb 100644 --- a/Rakefile +++ b/Rakefile @@ -17,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=#{Psych::DEFAULT_SNAKEYAML_VERSION}", '-Dverbose=true') + Maven::Ruby::Maven.new.exec('dependency:build-classpath', "-Dsnakeyaml.version=1.17", '-Dverbose=true') ext.source_version = '1.7' ext.target_version = '1.7' ext.classpath = File.read('pkg/classpath') -- cgit v1.2.3