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

Cause: DefaultClassLoaderScope ... must be locked before it can be used to compute a classpath! #120

Open
sachinshelke opened this issue Jul 28, 2021 · 0 comments

Comments

@sachinshelke
Copy link

After updating gradle.property for the property org.gradle.configureondemand=true, it generate below error.

Cause: org.gradle.api.internal.initialization.DefaultClassLoaderScope@2c3c5fa9 must be locked before it can be used to compute a classpath!

It works when setting the value to false. In that case, the purpose for the property for the multimodule project won't get solved right?

I'm using Kotlin DSL with the same gradle wrapper version from the repository.
Also changed the java version from 8, 11 & 16 still it has the same error.

If it works with value true then how to resolve the above issue?

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

1 participant