summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkares <self@kares.org>2018-11-28 12:57:13 +0100
committerkares <self@kares.org>2019-01-12 08:55:03 +0100
commit645f36ed8a72bd31920efec0abacc0a24d3abe78 (patch)
tree89e53ec9c9f0a49ac27cb837b2a94a2ca437c2a9
parent4123df7d561c60ad50456bfb203ceb02d66b78f2 (diff)
downloadjson-645f36ed8a72bd31920efec0abacc0a24d3abe78.tar.gz
[build] let's build with Java 1.6
JRuby 1.7 was Java6+ compatible (9.2 is Java8+)
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 532aacb..56edecc 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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