Updates gradle to 7.6, spock to 2.3 and groovy to 3.0. No breaking changes, for some miracle. Description of changes bellow:
DefaultPaketDependencyHandler:
JVM-level issues with @Delegate annotation that was injecting the named and withType methods from gradle's NamedDomainObjectSet. All signatures of those methods now are ignored by the delegate and are implemented in the class itself.
Gradle now requires every method under a task that fits a groovy property getter (get or is) to have Input/Output/Internal annotation. This means that lots of methods like that were filled by the @Delegate had to be explicitly declared on class in order to put the annotation there.
Several @Internal annotations also had to be applied through different classes, for the reasons stated above.
Finally, some log snippets used by test assertions were changed to match the gradle 7 log patterns.
Description
Updates gradle to 7.6, spock to 2.3 and groovy to 3.0. No breaking changes, for some miracle. Description of changes bellow:
DefaultPaketDependencyHandler
:@Delegate
annotation that was injecting thenamed
andwithType
methods from gradle'sNamedDomainObjectSet
. All signatures of those methods now are ignored by the delegate and are implemented in the class itself.get
oris
) to haveInput/Output/Internal
annotation. This means that lots of methods like that were filled by the@Delegate
had to be explicitly declared on class in order to put the annotation there.Several
@Internal
annotations also had to be applied through different classes, for the reasons stated above.Finally, some log snippets used by test assertions were changed to match the gradle 7 log patterns.
Changes