summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorCharles Oliver Nutter <headius@headius.com>2016-12-13 16:36:50 -0600
committerCharles Oliver Nutter <headius@headius.com>2016-12-13 16:47:47 -0600
commitcb13c8b48797454767092ddfa135d749309e0a76 (patch)
treeacc48eb406ec2484f487b02c9c7595cbe5b41148 /Rakefile
parent893d2fe7ba05e246a2378f20b480f6191e04e456 (diff)
downloadpsych-cb13c8b48797454767092ddfa135d749309e0a76.tar.gz
Hardcode Snakeyaml versions to avoid conflict with JRuby consts.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
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')