rn-secure-storage
rn-secure-storage copied to clipboard
Obsolete build.gradle
Compiling a React Native app for Android with Windows 10, Gradle 7.2, OpenJDK 11.
Gradle 7.2 doesn't like rn-secure-storage\android\build.gradle:
Could not get unknown property 'compile' for configuration container of type org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.
Offending code:
task copyDownloadableDepsToLibs(type: Copy) {
from configurations.compile
into 'libs'
}
Property "compile" is deprecated since Gradle 6 and removed since Gradle 7 and it has been replaced by "implementation". This works:
task copyDownloadableDepsToLibs(type: Copy) {
from configurations.implementation
into 'libs'
}
Thank you, iruAiweapps! Any chance of an updated release on npm? This library seems a bit abandoned.
Any idea on when this will be released? Currently, I'm having to manually update the build.gradle file each time I run a yarn add command.
Please update the library. Fix one line, it's not hard. Your library is good, but getting into the sources every time is very annoying It is not necessary to release a new major version, you can roll out rc- patch
Please merge Pull Request https://github.com/talut/rn-secure-storage/pull/68
@coprocoder plz use this https://www.npmjs.com/package/patch-package
will crash for release build if we change from configurations.compile to from configurations.implementation
Up :)
Please check v2.0.8