Skip to content
Snippets Groups Projects
Commit 2d8c48c9 authored by anttil's avatar anttil
Browse files

SWE-22 / SP-641: duplicate source level settings

SVN: 29013
parent 6afd1e09
No related merge requests found
......@@ -60,7 +60,7 @@ compileJava {
doFirst {
options.forkOptions.with {
executable = 'java'
jvmArgs = [ '-cp', configurations.ecj.asPath, 'org.eclipse.jdt.internal.compiler.batch.Main']
jvmArgs = [ '-cp', configurations.ecj.asPath, 'org.eclipse.jdt.internal.compiler.batch.Main', '-source', '1.6' ]
}
}
}
......@@ -71,7 +71,7 @@ compileTestJava {
doFirst {
options.forkOptions.with {
executable = 'java'
jvmArgs = [ '-cp', configurations.ecj.asPath, 'org.eclipse.jdt.internal.compiler.batch.Main']
jvmArgs = [ '-cp', configurations.ecj.asPath, 'org.eclipse.jdt.internal.compiler.batch.Main', '-source', '1.6' ]
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment