1 2 3 4 5 6 7 8 9
sources = [files('com/mesonbuild/JniTest.java')] subdir('com/mesonbuild') jnijar = jar( 'jnijar', sources, main_class : 'com.mesonbuild.JniTest', )