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

Plugin incompatible with Gradle's Isolated Projects #343

Open
3flex opened this issue Jun 23, 2024 · 4 comments
Open

Plugin incompatible with Gradle's Isolated Projects #343

3flex opened this issue Jun 23, 2024 · 4 comments

Comments

@3flex
Copy link
Contributor

3flex commented Jun 23, 2024

This plugin applies configuration from the root project using allprojects which breaks project isolation.

Errors from report on Gradle 8.8:

⨉Project : cannot access Project.extensions functionality on subprojects via allprojects
⨉Project : cannot access Project.plugins functionality on subprojects via allprojects
⨉Project : cannot access Project.tasks functionality on subprojects via allprojects

Related to #81 but this may be fixable without fixing the other (and vice versa) so I'm opening this to track.

Keep an eye on upstream Gradle issue: gradle/gradle#25179. When that's closed there may be convenient ways to address the issues in this plugin in new Gradle versions.

@koppor
Copy link

koppor commented Aug 28, 2024

Longer discussion: #81

@szpak
Copy link
Contributor

szpak commented Sep 2, 2024

Thanks for pointing it out @koppor. Closing in favor of #81.

@szpak szpak closed this as not planned Won't fix, can't repro, duplicate, stale Sep 2, 2024
@3flex
Copy link
Contributor Author

3flex commented Sep 3, 2024

I did say in the issue description:

Related to #81 but this may be fixable without fixing the other (and vice versa) so I'm opening this to track.

But that's fine if it will be fixed in #81.

@szpak
Copy link
Contributor

szpak commented Sep 3, 2024

Sorry, I didn't re-read the original message...

@szpak szpak reopened this Sep 3, 2024
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

No branches or pull requests

3 participants