From 645f36ed8a72bd31920efec0abacc0a24d3abe78 Mon Sep 17 00:00:00 2001 From: kares Date: Wed, 28 Nov 2018 12:57:13 +0100 Subject: [build] let's build with Java 1.6 JRuby 1.7 was Java6+ compatible (9.2 is Java8+) --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Rakefile') 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 -- cgit v1.2.1