Bump Java version in test program.

pull/6549/head
Jussi Pakkanen 5 years ago
parent 15ab30383e
commit 95de289d0d
  1. 4
      test cases/java/3 args/meson.build

@ -1,9 +1,9 @@
project('simplejava', 'java')
add_project_arguments('-target', '1.6', language : 'java')
add_project_arguments('-target', '1.8', language : 'java')
javaprog = jar('myprog', 'com/mesonbuild/Simple.java',
main_class : 'com.mesonbuild.Simple',
java_args : ['-source', '1.6'])
java_args : ['-source', '1.8'])
test('mytest', javaprog)

Loading…
Cancel
Save