Skip to content

Commit dabb5ee

Browse files
committed
specify Java release target platform using rake-compiler option
1 parent 5a7477d commit dabb5ee

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Rakefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ if RUBY_PLATFORM =~ /java/
3434
jars = ["#{jruby_home}/lib/jruby.jar"]
3535
ext.classpath = jars.map { |x| File.expand_path(x) }.join(':')
3636
ext.lib_dir = File.join(*['lib', 'msgpack', ENV['FAT_DIR']].compact)
37-
ext.source_version = '1.8'
38-
ext.target_version = '1.8'
37+
ext.release = '8'
3938
end
4039
else
4140
require 'rake/extensiontask'

0 commit comments

Comments
 (0)