diff --git a/src/main/groovy/edu/illinois/cs/cs125/gradle/GradeTask.groovy b/src/main/groovy/edu/illinois/cs/cs125/gradle/GradeTask.groovy index 1e8aa28..7ff7660 100644 --- a/src/main/groovy/edu/illinois/cs/cs125/gradle/GradeTask.groovy +++ b/src/main/groovy/edu/illinois/cs/cs125/gradle/GradeTask.groovy @@ -19,6 +19,7 @@ import java.nio.file.Paths import javax.xml.xpath.* import groovy.xml.DOMBuilder +import groovy.xml.XmlUtil import groovy.xml.dom.DOMCategory import org.apache.http.client.methods.* @@ -239,6 +240,7 @@ class GradeTask extends DefaultTask { } } } + gradeConfiguration.testXML = XmlUtil.serialize(mergedXML) def toRemove = gradeConfiguration.test.selectors - toKeep toRemove.each { testSelector ->