After upgrading to React Native 0.82, the build fails with the following error:
A problem occurred configuring project ':eabdullazyanov_react-native-sms-user-consent'.
Could not get unknown property 'destinationDir' for task ':eabdullazyanov_react-native-sms-user-consent:compileDebugJavaWithJavac' of type org.gradle.api.tasks.compile.JavaCompile.
This library’s build.gradle script still uses the deprecated destinationDir property for JavaCompile and Javadoc tasks.
Starting from Android Gradle Plugin (AGP) 8.x (which ships with React Native 0.82), the destinationDir property has been completely removed.