-
Notifications
You must be signed in to change notification settings - Fork 474
Kotlin v2 #1157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This issue has been marked as stale due to inactivity. Please respond or otherwise resolve the issue within 7 days or it will be closed. |
Kotlin V2 is required for react-native 0.77.
|
why this got closed? |
You can specify your Kotlin, Room and KSP versions |
@krizzu can you help here, i am trying this but having some hard time mix matching the right versions - RN version - 0.75.4 my gradle.properties
android/build.gradle warning i get on clean build -
Error on building -
|
If you are using Expo you can use this config plugin to specify the kotlin/ksp version: const {
createRunOncePlugin,
withGradleProperties,
} = require("@expo/config-plugins");
const withAndroidAsyncStorage = (config) => {
return withGradleProperties(config, (config) => {
// Add Kotlin version
config.modResults.push({
type: "property",
key: "AsyncStorage_kotlinVersion",
value: "2.0.21",
});
// Add KSP version
config.modResults.push({
type: "property",
key: "AsyncStorage_next_kspVersion",
value: "2.0.21-1.0.28",
});
return config;
});
};
module.exports = createRunOncePlugin(
withAndroidAsyncStorage,
"with-android-async-storage"
); |
What happened?
Hi,
can you please make this library compatible with kotlin v2? Right now it I get this message
ksp-1.9.24-1.0.20 is too old for kotlin-2.0.21. Please upgrade ksp or downgrade kotlin-gradle-plugin to 1.9.24.
Version
2.0.0
What platforms are you seeing this issue on?
System Information
Steps to Reproduce
just use kotlin-2.0.21
The text was updated successfully, but these errors were encountered: