Allow the bugsnagInstallJniLibsTask to be suppressed completely for projects that don't need it, and therefore reduce the build overhead and also suppress the "Configuration resolved during configuration time" warnings in Gradle 8.
Design
Unfortunately we cannot currently fix this warning completely, as moving the resolution into the task will break configuration caching. Including this option allows the task to be suppressed completely for projects that include NDK components (and therefore externalNativeBuildProviders) but do not link with the BugSnag NDK headers or .so files.
Goal
Allow the
bugsnagInstallJniLibsTask
to be suppressed completely for projects that don't need it, and therefore reduce the build overhead and also suppress the "Configuration resolved during configuration time" warnings in Gradle 8.Design
Unfortunately we cannot currently fix this warning completely, as moving the resolution into the task will break configuration caching. Including this option allows the task to be suppressed completely for projects that include NDK components (and therefore
externalNativeBuildProviders
) but do not link with the BugSnag NDK headers or.so
files.Testing
Manually tested