alpha0010 / react-native-file-access

Filesystem access for React Native
MIT License
313 stars 26 forks source link

Build fails with React Native 0.71+ #63

Closed markholland closed 1 year ago

markholland commented 1 year ago

react-native: 0.71.3 react-native-file-access: 2.5.2 Platform: Android

Bug react-native android command fails with message

FAILURE: Build failed with an exception.

* What went wrong:
The Android Gradle plugin supports only kotlin-android-extensions Gradle plugin version 1.6.20 and higher.
The following dependencies do not satisfy the required version:
project ':react-native-file-access' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10

To reproduce Have project using React Native 0.71 or higher and integrate react-native-file-access

Details The Android Gradle plugin used when upgrading to React Native 0.71 is 7.3.1 which requires Kotlin version 1.6.20 or higher.

This library has the Kotlin version set to 1.6.10. I understand that this can be overridden by setting a different value in the parent projects settings but we have no need to set the Kotlin version and would prefer to not have to maintain this value ourselves.