diff options
author | Charles Oliver Nutter <headius@headius.com> | 2018-09-19 11:24:28 -0500 |
---|---|---|
committer | Charles Oliver Nutter <headius@headius.com> | 2018-09-19 11:24:28 -0500 |
commit | 8ff855f61f2f1d9e4adda31eb0a9cc580630ebab (patch) | |
tree | 4c68795897991557151a7b939f8ebcc5b16ef794 /Rakefile | |
parent | 96705dee85f767e9bb8a04f319ec3a2a90d29ac0 (diff) | |
download | psych-8ff855f61f2f1d9e4adda31eb0a9cc580630ebab.tar.gz |
Force loading of ./lib/psych/versions.rb to get updated consts.
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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: |