Skip to content
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

chore: update gradle & kotlin versions #258

Merged
merged 2 commits into from
Oct 19, 2023
Merged

Conversation

kirillzyusko
Copy link
Owner

@kirillzyusko kirillzyusko commented Oct 19, 2023

📜 Description

Updated gradle to 6.9.4 and kotlin to 1.8.22.

💡 Motivation and Context

It was needed to fix compilation issues in https://github.com/kirillzyusko/react-native-keyboard-controller/actions/runs/6580087395/job/17877337926?pr=257

...
e: /home/runner/work/react-native-keyboard-controller/react-native-keyboard-controller/android/src/paper/java/com/reactnativekeyboardcontroller/StatusBarManagerCompatModule.kt: (24, 12): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
The class is loaded from /home/runner/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.8.10/6d5560a229477df9406943d5feda5618e98eb64c/kotlin-stdlib-1.8.10.jar!/kotlin/Unit.class
e: /home/runner/work/react-native-keyboard-controller/react-native-keyboard-controller/android/src/paper/java/com/reactnativekeyboardcontroller/StatusBarManagerCompatModule.kt: (29, 12): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
The class is loaded from /home/runner/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.8.10/6d5560a229477df9406943d5feda5618e98eb64c/kotlin-stdlib-1.8.10.jar!/kotlin/Unit.class
...

📢 Changelog

Android

  • updated gradle to 6.9.4;
  • updated kotlin to 1.8.22.
  • specified kotlinVersion in FabricExample as in example;

🤔 How Has This Been Tested?

Tested via CI in this PR.

📝 Checklist

  • CI successfully passed

@kirillzyusko kirillzyusko added 🤖 android Android specific CI CI (github actions) labels Oct 19, 2023
@kirillzyusko kirillzyusko self-assigned this Oct 19, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Oct 19, 2023

📊 Package size report

Current size Target Size Difference
73638 bytes 73639 bytes -1 bytes 📉

@kirillzyusko kirillzyusko changed the title refactor: update gradle & kotlin versions chore: update gradle & kotlin versions Oct 19, 2023
@kirillzyusko kirillzyusko marked this pull request as ready for review October 19, 2023 21:25
@kirillzyusko kirillzyusko merged commit 2cd92a2 into main Oct 19, 2023
10 checks passed
@kirillzyusko kirillzyusko deleted the fix/android-lint-and-build branch October 19, 2023 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 android Android specific CI CI (github actions)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant