Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Signatures URLs added to any task are actually applied to all tasks #209

Merged
merged 1 commit into from
Oct 3, 2022

Conversation

uschindler
Copy link
Member

@uschindler uschindler commented Oct 3, 2022

I finally found a solution to fix #203. I studied other old plugins and the trick is the following: Instead of returing a new instance in the convention, have some collection available as template. When the convention is executed, it takes the template, adds the extensions's data to it (addAll for Collections, source for ConfigurableFileCollections) and returns the template.

I added a Gradle-like += and a Kotlin-like with add to the sample project which gets tested. I verified that in both cases the data is kept and the extension is not modified.

This closes #203.

@uschindler uschindler added the bug label Oct 3, 2022
@uschindler uschindler added this to the 3.5 milestone Oct 3, 2022
@uschindler uschindler self-assigned this Oct 3, 2022
@uschindler uschindler merged commit 7518dd3 into main Oct 3, 2022
@uschindler uschindler deleted the issues/203 branch October 3, 2022 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

Signatures URLs added to any task are actually applied to all tasks
1 participant