@@ -32,7 +32,7 @@ includeTargets << grailsScript("_GrailsArgParsing")
3232ant. taskdef (name : ' groovyc' , classname : ' org.codehaus.groovy.grails.compiler.GrailsCompiler' )
3333ant. path(id : " grails.compile.classpath" , compileClasspath)
3434
35- compilerPaths = { String classpathId , boolean compilingTests ->
35+ compilerPaths = { String classpathId ->
3636
3737 def excludedPaths = [" views" , " i18n" , " conf" ] // conf gets special handling
3838
@@ -55,10 +55,6 @@ compilerPaths = { String classpathId, boolean compilingTests ->
5555 }
5656
5757 javac(classpathref :classpathId, encoding :" UTF-8" , debug :" yes" )
58- if (compilingTests) {
59- src(path :" ${ grailsSettings.testSourceDir} /unit" )
60- src(path :" ${ grailsSettings.testSourceDir} /integration" )
61- }
6258}
6359
6460target(setCompilerSettings : " Updates the compile build settings based on args" ) {
@@ -82,7 +78,7 @@ target(compile : "Implementation of compilation phase") {
8278 encoding :" UTF-8" ,
8379 verbose : grailsSettings. verboseCompile,
8480 listfiles : grailsSettings. verboseCompile,
85- compilerPaths. curry(classpathId, false ))
81+ compilerPaths. curry(classpathId))
8682 }
8783 catch (Exception e) {
8884 event(" StatusFinal" , [" Compilation error: ${ e.message} " ])
0 commit comments