Open kishoreraj05 opened 2 years ago
I tried to build with the Gradle 5.5
and com.github.maiflai:gradle-scalatest:0.25
. it giving below exception:
An exception or error caused a run to abort. This may have been caused by a problematic custom reporter.
java.lang.NoClassDefFoundError: com.vladsch.flexmark.util.ast.Node
at org.scalatest.tools.ReporterFactory.createHtmlReporter(ReporterFactory.scala:194)
at org.scalatest.tools.ReporterFactory.getReporterFromConfiguration(ReporterFactory.scala:245)
at org.scalatest.tools.ReporterFactory.$anonfun$createReportersFromConfigurations$1(ReporterFactory.scala:254)
at org.scalatest.tools.ReporterFactory$$Lambda$63/0x0000000000000000.apply(Unknown Source)
at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:286)
at scala.collection.TraversableLike$$Lambda$9/0x0000000000000000.apply(Unknown Source)
at scala.collection.Iterator.foreach(Iterator.scala:943)
at scala.collection.Iterator.foreach$(Iterator.scala:943)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
at scala.collection.IterableLike.foreach(IterableLike.scala:74)
at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
at org.scalatest.tools.ReporterConfigurations.foreach(ReporterConfiguration.scala:42)
at scala.collection.TraversableLike.map(TraversableLike.scala:286)
at scala.collection.TraversableLike.map$(TraversableLike.scala:279)
at org.scalatest.tools.ReporterConfigurations.map(ReporterConfiguration.scala:42)
at org.scalatest.tools.ReporterFactory.createReportersFromConfigurations(ReporterFactory.scala:253)
at org.scalatest.tools.ReporterFactory.getDispatchReporter(ReporterFactory.scala:257)
at org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1480)
at org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:971)
at org.scalatest.tools.Runner$.main(Runner.scala:775)
at org.scalatest.tools.Runner.main(Runner.scala)
Caused by: java.lang.ClassNotFoundException: com.vladsch.flexmark.util.ast.Node
at java.net.URLClassLoader.findClass(URLClassLoader.java:591)
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:951)
at java.lang.ClassLoader.loadClass(ClassLoader.java:896)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:879)
... 21 more
FAILURE: Build failed with an exception.
With Gradle 5.5 and
com.github.maiflai:gradle-scalatest:0.24
I am getting below exception Caused by: groovy.lang.GroovyRuntimeException: Could not find matching constructor for: org.gradle.process.internal.DefaultExecActionFactory(org.gradle.api.internal.file.BaseDirFileResolver) at com.github.maiflai.ScalaTestAction.makeAction(ScalaTestAction.groovy:68) at com.github.maiflai.ScalaTestAction$makeAction.callStatic(Unknown Source) at com.github.maiflai.ScalaTestAction.execute(ScalaTestAction.groovy:32) at com.github.maiflai.ScalaTestAction.execute(ScalaTestAction.groovy) at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:702) at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:669) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$5.run(ExecuteActionsTaskExecuter.java:401) at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:402)build.gradle: