summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 9ff37d6..5c5e8d4 100644
--- a/Rakefile
+++ b/Rakefile
@@ -12,9 +12,10 @@ end
if RUBY_PLATFORM =~ /java/
require 'rake/javaextensiontask'
- require_relative 'lib/psych/versions'
Rake::JavaExtensionTask.new("psych") do |ext|
require 'maven/ruby/maven'
+ # force load of versions to overwrite constants with values from repo.
+ load './lib/psych/versions.rb'
# uses Mavenfile to write classpath into pkg/classpath
# and tell maven via system properties the snakeyaml version
# this is basically the same as running from the commandline: