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

Cannot configure project with release 2.5.0/2.5.1 #64

Closed
3flex opened this issue Oct 14, 2023 · 2 comments · Fixed by #65
Closed

Cannot configure project with release 2.5.0/2.5.1 #64

3flex opened this issue Oct 14, 2023 · 2 comments · Fixed by #65

Comments

@3flex
Copy link
Contributor

3flex commented Oct 14, 2023

Error:

* What went wrong:
An exception occurred applying plugin request [id: 'com.github.breadmoirai.github-release']
> Failed to apply plugin 'com.github.breadmoirai.github-release'.
   > Could not create an instance of type com.github.breadmoirai.githubreleaseplugin.GithubReleaseExtension.
      > No signature of method: org.gradle.api.internal.provider.DefaultProperty.call() is applicable for argument types: (com.github.breadmoirai.githubreleaseplugin.GithubReleaseExtension$_closure1) values: [com.github.breadmoirai.githubreleaseplugin.GithubReleaseExtension$_closure1@[27](https://github.com/detekt/detekt/actions/runs/6493009537/job/17633076172?pr=6542#step:5:28)036385]
        Possible solutions: wait(), any(), wait(long), map(org.gradle.api.Transformer), map(org.gradle.api.Transformer), value(java.lang.Object)

I'm not sure why but using closures to set the default values in the extension seems to be causing the problem - even though that's how they were applied in previous versions.

@3flex
Copy link
Contributor Author

3flex commented Oct 25, 2023

@BreadMoirai this is a significant issue blocking upgrades - I've submitted a PR that fixes it, can this be merged and a new release cut please?

I'm very keen to start using v2.5+ that includes a fix for #58 as easier versions cause a lot of issues in the IDE.

@simonpoole
Copy link

simonpoole commented Nov 8, 2023

I have a project that is facing the same issue, confounded by the fact that the ast dependency that 2.4.1 has seems to no longer be available, which breaks all builds on systems that don't have that cached. See #66

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 a pull request may close this issue.

2 participants