File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/test/groovy/org/gradlex/javamodule/moduleinfo/test Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -613,9 +613,10 @@ abstract class AbstractFunctionalTest extends Specification {
613613 }
614614
615615 tasks.named("run") {
616+ val archives = objects.newInstance(ServiceInjection::class.java).archiveOperations
616617 inputs.files(configurations.runtimeClasspath.get().filter {
617618 it.name == "qpid-broker-core-8.0.6-module.jar"
618- }.elements.map { zipTree(it.single()) })
619+ }.elements.map { archives. zipTree(it.single()) })
619620 doLast {
620621 println(
621622 inputs.files.find {
@@ -624,6 +625,10 @@ abstract class AbstractFunctionalTest extends Specification {
624625 )
625626 }
626627 }
628+ interface ServiceInjection {
629+ @get:Inject
630+ val archiveOperations: ArchiveOperations
631+ }
627632 """
628633
629634 when :
You can’t perform that action at this time.
0 commit comments