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

Error when using version 0.16.2 in projects with a Gradle version older than 8.2 #263

Closed
qurbonzoda opened this issue Jul 25, 2024 · 3 comments · Fixed by #265
Closed

Error when using version 0.16.2 in projects with a Gradle version older than 8.2 #263

qurbonzoda opened this issue Jul 25, 2024 · 3 comments · Fixed by #265

Comments

@qurbonzoda
Copy link

qurbonzoda commented Jul 25, 2024

The error is:

* What went wrong:
'void org.gradle.api.artifacts.Configuration.setCanBeDeclared(boolean)'

I suppose the problem was introduced in the last release, specifically because of using configuration.isCanBeDeclared in this file:

setCanBeDeclared was introduced in Gradle 8.2

@qwwdfsad
Copy link
Contributor

@ALikhachev could you please take a look?

@ALikhachev
Copy link
Member

ALikhachev commented Jul 25, 2024

Indeed. Perhaps we could add a simple version guard on the problematic call. Missed this during review of #256 😞 In the perfect scenario tests should catch such problems

@Goooler
Copy link
Contributor

Goooler commented Jul 27, 2024

Addressing the fix to #264.

shanshin added a commit that referenced this issue Jul 31, 2024
shanshin added a commit that referenced this issue Jul 31, 2024
shanshin pushed a commit that referenced this issue Jul 31, 2024
qurbonzoda added a commit to Kotlin/kotlinx.collections.immutable that referenced this issue Aug 23, 2024
qurbonzoda added a commit to Kotlin/kotlinx.collections.immutable that referenced this issue Sep 4, 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
4 participants