Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

Kotlin and Gradle updates #160

Merged
merged 3 commits into from
Jul 1, 2021
Merged

Kotlin and Gradle updates #160

merged 3 commits into from
Jul 1, 2021

Conversation

stevenzeck
Copy link
Contributor

  • Updated the Kotlin version
  • Updated Gradle
  • Updated dependencies
  • Replaced deprecated code

Copy link
Member

@mickael-menu mickael-menu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Comment on lines +120 to +121
//TODO Figure out a better way to handle this Kotlin warning
tryOrLog<Nothing> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To add some context, 1.5 added a new warning in this case, when the type inference is ambiguous: https://youtrack.jetbrains.com/issue/KT-36776

@@ -164,6 +162,8 @@ class Publication(
/**
* Closes any opened resource associated with the [Publication], including services.
*/
@DelicateCoroutinesApi
//TODO Change this to be a suspend function
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be done in 3.x

@mickael-menu mickael-menu merged commit 34aaec2 into readium:develop Jul 1, 2021
@stevenzeck stevenzeck deleted the kotlin-update branch July 2, 2021 00:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants