diff options
author | kares <self@kares.org> | 2018-11-28 12:57:13 +0100 |
---|---|---|
committer | kares <self@kares.org> | 2019-01-12 08:55:03 +0100 |
commit | 645f36ed8a72bd31920efec0abacc0a24d3abe78 (patch) | |
tree | 89e53ec9c9f0a49ac27cb837b2a94a2ca437c2a9 /Rakefile | |
parent | 4123df7d561c60ad50456bfb203ceb02d66b78f2 (diff) | |
download | json-645f36ed8a72bd31920efec0abacc0a24d3abe78.tar.gz |
[build] let's build with Java 1.6
JRuby 1.7 was Java6+ compatible (9.2 is Java8+)
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -238,7 +238,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.5', '-target', '1.5', src + sh 'javac', '-classpath', classpath, '-source', '1.6', '-target', '1.6', src end JAVA_CLASSES << obj end |