aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/java/3 args/meson.build
blob: 451e42d977c8be4b0638047e2e4b84306666a740 (plain)
1
2
3
4
5
6
7
8
9
project('simplejava', 'java')

add_project_arguments('-target', '1.7', language : 'java')

javaprog = jar('myprog', 'com/mesonbuild/Simple.java',
  main_class : 'com.mesonbuild.Simple',
  java_args : ['-source', '1.7'])
test('mytest', javaprog)