Skip to content

Register the golden-copy task without the deprecated delegate - #325

Merged
smelfungus merged 1 commit into
masterfrom
chore/gradle-10-deprecation
Sep 2, 2026
Merged

smelfungus merged 1 commit into
masterfrom
chore/gradle-10-deprecation

Conversation

@smelfungus

Copy link
Copy Markdown
Member

val copyGoldensToDocs by tasks.registering(Copy::class) uses the Kotlin DSL property-delegate syntax that Gradle 9 deprecates and Gradle 10 removes, and it was the only deprecation left in the build. tasks.register<Copy>("copyGoldensToDocs") is the documented replacement and changes nothing about when the task runs.

`val copyGoldensToDocs by tasks.registering(Copy::class)` uses the Kotlin DSL property-delegate syntax that Gradle 9 deprecates and Gradle 10 removes, and it was the only deprecation left in the build. `tasks.register<Copy>("copyGoldensToDocs")` is the documented replacement and changes nothing about when the task runs.
@smelfungus smelfungus self-assigned this Sep 2, 2026
@smelfungus
smelfungus merged commit efc7542 into master Sep 2, 2026
2 checks passed
@smelfungus
smelfungus deleted the chore/gradle-10-deprecation branch September 2, 2026 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant