File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class JavaCompileUsingEcj extends JavaCompile {
2929 onlyIf { ! project. hasProperty(' skipJavaUsingEcjTasks' ) }
3030 }
3131
32- final void setSourceSet (SourceSet sourceSet ) {
32+ final void setSourceSet (final SourceSet sourceSet ) {
3333 // Imitate most of the behavior of the standard compilation task for the given sourceSet.
3434 final standardCompileTaskName = sourceSet. getCompileTaskName(' java' )
3535 final standardCompileTask = project. tasks. named(standardCompileTaskName, JavaCompile ). get()
@@ -41,7 +41,7 @@ class JavaCompileUsingEcj extends JavaCompile {
4141 destinationDirectory. set project. layout. buildDirectory. dir(destinationSubdir)
4242 }
4343
44- final static Provider<JavaCompileUsingEcj > withSourceSet (Project project , SourceSet sourceSet ) {
44+ final static Provider<JavaCompileUsingEcj > withSourceSet (final Project project , final SourceSet sourceSet ) {
4545 return project. tasks. register(sourceSet. getCompileTaskName(' javaUsingEcj' ), JavaCompileUsingEcj ) { it ->
4646 it. sourceSet = sourceSet
4747 }
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class EclipseJavaCompiler implements Compiler<JavaCompileSpec> {
3232 *
3333 * @param project the project that will use this compiler
3434 */
35- EclipseJavaCompiler (Project project ) {
35+ EclipseJavaCompiler (final Project project ) {
3636 this .project = project ;
3737 ecjConfiguration =
3838 project
You can’t perform that action at this time.
0 commit comments