java.lang.NoSuchMethodError: 'java.io.File com.android.build.gradle.tasks.ExternalNativeBuildTask.getObjFolder()'
at com.bugsnag.android.gradle.BugsnagPlugin$registerReleasesUploadTask$1$$special$$inlined$forEach$lambda$1.transform(BugsnagPlugin.kt:699)
at com.bugsnag.android.gradle.BugsnagPlugin$registerReleasesUploadTask$1$$special$$inlined$forEach$lambda$1.transform(BugsnagPlugin.kt:67)
Cause is a changed API in ExternalNativeBuildTask where previously objFolder & soFolder returned a File it now returns a DirectoryProperty
Describe the bug
Build failure with AGP 7.2.0
Steps to reproduce
Upgrade to AGP 7.2.0 and run a release task
Environment
Cause is a changed API in
ExternalNativeBuildTask
where previouslyobjFolder
&soFolder
returned aFile
it now returns aDirectoryProperty
Diff: https://android.googlesource.com/platform/tools/base/+/ff92a1c5fe15aa34c294044f358fcc9b39e19f8b%5E%21/#F13