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

Incompatible with project isolation #180

Closed
ZacSweers opened this issue Nov 24, 2021 · 3 comments
Closed

Incompatible with project isolation #180

ZacSweers opened this issue Nov 24, 2021 · 3 comments

Comments

@ZacSweers
Copy link
Contributor

When trying out project isolation, this error is reported

Cause 5: org.gradle.api.InvalidUserCodeException: Cannot access project ':services' from project ':'
        at org.gradle.configurationcache.ProblemReportingCrossProjectModelAccess$ProblemReportingProject.onAccess(ProblemReportingCrossProjectModelAccess.kt:970)
        at org.gradle.configurationcache.ProblemReportingCrossProjectModelAccess$ProblemReportingProject.afterEvaluate(ProblemReportingCrossProjectModelAccess.kt:580)
        at com.osacky.doctor.DoctorPlugin$ensureNoCleanTaskDependenciesIfNeeded$1.execute(DoctorPlugin.kt:170)
        at com.osacky.doctor.DoctorPlugin$ensureNoCleanTaskDependenciesIfNeeded$1.execute(DoctorPlugin.kt:31)
        at org.gradle.api.internal.DefaultMutationGuard$2.execute(DefaultMutationGuard.java:44)
        at org.gradle.internal.Actions.with(Actions.java:249)
@runningcode
Copy link
Owner

Thanks for reporting. This is due to the clean dependency check. This check will no longer be needed in Gradle 7.4 and will not cause an issue anymore in Gradle 7.4

runningcode added a commit that referenced this issue Feb 14, 2022
Remove clean checks from Gradle 7.4.

Fixes project isolation (#180)
runningcode added a commit that referenced this issue Feb 14, 2022
Remove clean checks from Gradle 7.4.

Fixes project isolation (#180)
runningcode added a commit that referenced this issue Feb 14, 2022
* Update to Gradle 7.4

Remove clean checks from Gradle 7.4.

Fixes project isolation (#180)
@runningcode
Copy link
Owner

runningcode commented Feb 14, 2022

@ZacSweers
Copy link
Contributor Author

FYI this regressed, filed #302

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

2 participants