dropbox / dropbox/focus

Included builds are not yet available for this build.

Open
#39 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
434
Forks
25
PR merge metrics
No merged PRs in 30d

Description

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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.