diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-09 08:23:18 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-09 08:23:18 +0900 |
commit | 248bc5bf7ea597d7a20396a8def855a1988bf490 (patch) | |
tree | 684b0d4809b2976dccda8e19c45587859cd234fb | |
parent | c233be905baa7889c26ce033d07ecab90a395f00 (diff) | |
parent | 1d38e4d3725ae26b143b63cdd049d4efa1bc7011 (diff) | |
download | json-248bc5bf7ea597d7a20396a8def855a1988bf490.tar.gz |
Merge pull request #516 from headius/java_8
JRuby requires a minimum of Java 8
-rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -155,7 +155,7 @@ if defined?(RUBY_ENGINE) and RUBY_ENGINE == 'jruby' classpath = (Dir['java/lib/*.jar'] << 'java/src' << JRUBY_JAR) * ':' obj = src.sub(/\.java\Z/, '.class') file obj => src do - sh 'javac', '-classpath', classpath, '-source', '1.6', '-target', '1.6', src + sh 'javac', '-classpath', classpath, '-source', '1.8', '-target', '1.8', src end JAVA_CLASSES << obj end |