Having build issues with the app and unsure why it's not working on BitBucket Pipelines. Works fine on the Windows 10 machine & internal Jenkins CI server. The repo has nested submodules.
Edit: After looking at it it looks like there's an issue with BitBucket so will report it to them.
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:testUkAllinoneAdsWithIapReleaseUnitTest'.
> Could not resolve all task dependencies for configuration ':app:ukAllinoneAdsWithIapReleaseUnitTestRuntimeClasspath'.
> Could not resolve project :lib:mediaServer.
Required by:
project :app
project :app > project :hazard-perception
> No matching configuration of project :lib:mediaServer was found. The consumer was configured to find a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'monetisation' with value 'adsWithIap', attribute 'testType' with value 'ukAllinone', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
> Could not resolve project :lib:poppy.
Required by:
project :app
> No matching configuration of project :lib:poppy was found. The consumer was configured to find a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'monetisation' with value 'adsWithIap', attribute 'testType' with value 'ukAllinone', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
> Could not resolve project :lib:mathete-voiceover-player.
Required by:
project :app
> No matching configuration of project :lib:mathete-voiceover-player was found. The consumer was configured to find a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'monetisation' with value 'adsWithIap', attribute 'testType' with value 'ukAllinone', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
> Could not resolve project :lib:parsnip.
Required by:
project :app
project :app > project :hazard-perception
> No matching configuration of project :lib:parsnip was found. The consumer was configured to find a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'monetisation' with value 'adsWithIap', attribute 'testType' with value 'ukAllinone', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
> Could not resolve project :lib:mathete-book-position-persister.
Required by:
project :app
> No matching configuration of project :lib:mathete-book-position-persister was found. The consumer was configured to find a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'monetisation' with value 'adsWithIap', attribute 'testType' with value 'ukAllinone', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
> Could not resolve project :lib:learn2registration.
Required by:
project :app
project :app > project :hazard-perception
> No matching configuration of project :lib:learn2registration was found. The consumer was configured to find a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'monetisation' with value 'adsWithIap', attribute 'testType' with value 'ukAllinone', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
> Could not resolve project :lib:imagitech-onboarding:lib.
Required by:
project :app
> No matching configuration of project :lib:imagitech-onboarding:lib was found. The consumer was configured to find a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'monetisation' with value 'adsWithIap', attribute 'testType' with value 'ukAllinone', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
> Could not resolve project :lib:imagitech-licensing:licensing-core.
Required by:
project :app
project :app > project :hazard-perception
> No matching configuration of project :lib:imagitech-licensing:licensing-core was found. The consumer was configured to find a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'monetisation' with value 'adsWithIap', attribute 'testType' with value 'ukAllinone', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
> Could not resolve project :lib:imagitech-licensing:licensing-dialog.
Required by:
project :app
project :app > project :hazard-perception
> No matching configuration of project :lib:imagitech-licensing:licensing-dialog was found. The consumer was configured to find a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'monetisation' with value 'adsWithIap', attribute 'testType' with value 'ukAllinone', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
> Could not resolve project :lib:imagitech-searchable-documents:searchable-documents-core.
Required by:
project :app
project :app > project :hazard-perception
> No matching configuration of project :lib:imagitech-searchable-documents:searchable-documents-core was found. The consumer was configured to find a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'monetisation' with value 'adsWithIap', attribute 'testType' with value 'ukAllinone', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
> Could not resolve project :lib:android-sqlite-asset-helper:library.
Required by:
project :app
> No matching configuration of project :lib:android-sqlite-asset-helper:library was found. The consumer was configured to find a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'monetisation' with value 'adsWithIap', attribute 'testType' with value 'ukAllinone', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
> Could not resolve project :lib:imagitech-searchable-documents:highway-code.
Required by:
project :app
project :app > project :hazard-perception
> No matching configuration of project :lib:imagitech-searchable-documents:highway-code was found. The consumer was configured to find a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'monetisation' with value 'adsWithIap', attribute 'testType' with value 'ukAllinone', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
> Could not resolve project :lib:imagitech-telemetry:core.
Required by:
project :app > project :core
project :app > project :hazard-perception
> No matching configuration of project :lib:imagitech-telemetry:core was found. The consumer was configured to find a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'monetisation' with value 'adsWithIap', attribute 'testType' with value 'ukAllinone', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
> Could not resolve project :lib:imagitech-telemetry:api-firebase.
Required by:
project :app > project :core
project :app > project :hazard-perception
> No matching configuration of project :lib:imagitech-telemetry:api-firebase was found. The consumer was configured to find a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'monetisation' with value 'adsWithIap', attribute 'testType' with value 'ukAllinone', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
> Could not resolve project :lib:imagitech-library.
Required by:
project :app > project :core
project :app > project :lib:mathete
project :app > project :hazard-perception
> No matching configuration of project :lib:imagitech-library was found. The consumer was configured to find a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'monetisation' with value 'adsWithIap', attribute 'testType' with value 'ukAllinone', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
> Could not resolve project :lib:mathete-question.
Required by:
project :app > project :lib:mathete
> No matching configuration of project :lib:mathete-question was found. The consumer was configured to find a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'monetisation' with value 'adsWithIap', attribute 'testType' with value 'ukAllinone', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
> Could not resolve project :lib:imagitech-onboarding:viewPagerIndicator.
Required by:
project :app > project :hazard-perception
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
> No matching configuration of project :lib:imagitech-onboarding:viewPagerIndicator was found. The consumer was configured to find a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'monetisation' with value 'adsWithIap', attribute 'testType' with value 'ukAllinone', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 52s