parent
0250b2cce6
commit
c9a46fcc93
4 changed files with 24 additions and 1 deletions
@ -0,0 +1,7 @@ |
||||
package com.mesonbuild; |
||||
|
||||
class Simple { |
||||
public static void main(String [] args) { |
||||
System.out.println("Java is working.\n"); |
||||
} |
||||
} |
@ -0,0 +1,9 @@ |
||||
project('simplejava', 'java') |
||||
|
||||
add_project_arguments('-target', '1.6', language : 'java') |
||||
|
||||
javaprog = jar('myprog', 'com/mesonbuild/Simple.java', |
||||
main_class : 'com.mesonbuild.Simple', |
||||
java_args : ['-source', '1.6']) |
||||
test('mytest', javaprog) |
||||
|
Loading…
Reference in new issue