Skip to content

Included builds are not yet available for this build. #39

@changusmc

Description

@changusmc

We recently migrated from buildSrc to convention plugins which are being pulled in as an includeBuild in our settings.gradle.

Currently, I only have our app module in settings-all.gradle and the original settings.gradle file has the rest of the existing logic

pluginManagement {
    includeBuild("build-logic")
}

plugins {
...
}

include("...")

This is the error we're getting

> 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions