Fix classpath for collectScreenshots
This commit is contained in:
@@ -211,7 +211,8 @@ task collectScreenshots {
|
||||
def mainMethod = klass.getMethod("main")
|
||||
println "Collecting screenshot for ${klassName}"
|
||||
javaexec {
|
||||
classpath set.runtimeClasspath
|
||||
classpath += set.runtimeClasspath
|
||||
classpath += set.compileClasspath
|
||||
def className = y.name.replace(".class", "")
|
||||
main = className
|
||||
jvmArgs += "-DtakeScreenshot=true"
|
||||
|
||||
Reference in New Issue
Block a user