You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Task :library:repository:createFocusSettings FAILED
1 problem was found storing the configuration cache.
- Task `:library:repository:createFocusSettings` of type `com.dropbox.focus.CreateFocusSettingsTask`: invocation of 'Task.project' at execution time is unsupported.
See https://docs.gradle.org/8.0/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
See the complete report at file:///Users/changd/code/android/build/reports/configuration-cache/c2kiincfd0w2hzkql27qyhlqc/8pf9nvszsnq578qy2l4bu38yi/configuration-cache-report.html
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/changd/code/android/build.gradle' line: 29
* What went wrong:
Error resolving plugin [id: 'org.gradle.android.cache-fix', version: '2.7.1', apply: false]
> Included builds are not yet available for this build.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 3s
10 actionable tasks: 1 executed, 9 up-to-date
The text was updated successfully, but these errors were encountered:
Can you share what your build file looks like? Particularly around line 29? That error seems to come from Gradle, making it look like you might be calling includedBuilds() before it's been set.
The error about the createFocusSettings task not being cacheable isn't surprising, since it's not cacheable.
I'm not seeing anything in the task that might trigger an error like this, unless it's simply the fact that it's evaluating the projects to gather their dependencies. A stack trace or some more information about your build might be helpful, here.
We recently migrated from
buildSrc
to convention plugins which are being pulled in as anincludeBuild
in oursettings.gradle
.Currently, I only have our app module in
settings-all.gradle
and the originalsettings.gradle
file has the rest of the existing logicThis is the error we're getting
The text was updated successfully, but these errors were encountered: