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 {
613
613
}
614
614
615
615
tasks.named("run") {
616
+ val archives = objects.newInstance(ServiceInjection::class.java).archiveOperations
616
617
inputs.files(configurations.runtimeClasspath.get().filter {
617
618
it.name == "qpid-broker-core-8.0.6-module.jar"
618
- }.elements.map { zipTree(it.single()) })
619
+ }.elements.map { archives. zipTree(it.single()) })
619
620
doLast {
620
621
println(
621
622
inputs.files.find {
@@ -624,6 +625,10 @@ abstract class AbstractFunctionalTest extends Specification {
624
625
)
625
626
}
626
627
}
628
+ interface ServiceInjection {
629
+ @get:Inject
630
+ val archiveOperations: ArchiveOperations
631
+ }
627
632
"""
628
633
629
634
when :
You can’t perform that action at this time.
0 commit comments