-
Notifications
You must be signed in to change notification settings - Fork 748
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
Bump kotlin-gradle-plugin from 1.5.31 to 1.6.0 - BLOCKED #4471
Bump kotlin-gradle-plugin from 1.5.31 to 1.6.0 - BLOCKED #4471
Conversation
@dependabot rebase |
3f1f542
to
6c241bc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI is not happy, it appears that some dependencies require some upgrade first.
Let's just wait a while
Blockers: square/moshi#1368 (and square/moshi#1324). Those issues are closed, but maybe Moshi is not released yet with the fix? |
Depends on #4673 |
@dependabot rebase |
Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry! If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request |
fa71c3b
to
3ca37c4
Compare
looks like a jetifier error
|
@dependabot rebase |
Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry! If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request |
3ca37c4
to
1cc83cd
Compare
(manual rebase performed) |
@@ -209,18 +210,19 @@ class DiscoverySettingsController @Inject constructor( | |||
titleResId(R.string.settings_discovery_emails_title) | |||
} | |||
when (emails) { | |||
is Incomplete -> { | |||
Uninitialized, | |||
is Loading -> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sadly, even if is Incomplete
is equivalent to Uninitialized, is Loading
, the compiler is not clever enough to understand that.
Bumps [kotlin-gradle-plugin](https://github.com/JetBrains/kotlin) from 1.5.31 to 1.6.0. - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/commits) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps `moshi` from 1.12.0 to 1.13.0. Updates `moshi-adapters` from 1.12.0 to 1.13.0 - [Release notes](https://github.com/square/moshi/releases) - [Changelog](https://github.com/square/moshi/blob/master/CHANGELOG.md) - [Commits](square/moshi@moshi-parent-1.12.0...moshi-parent-1.13.0) Updates `moshi-kotlin-codegen` from 1.12.0 to 1.13.0 - [Release notes](https://github.com/square/moshi/releases) - [Changelog](https://github.com/square/moshi/blob/master/CHANGELOG.md) - [Commits](square/moshi@moshi-parent-1.12.0...moshi-parent-1.13.0) --- updated-dependencies: - dependency-name: com.squareup.moshi:moshi-adapters dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: com.squareup.moshi:moshi-kotlin-codegen dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
abbed22
to
f791ddb
Compare
Arg, tests are failing and I cannot push new commits, I got a error 500. |
I cannot make the unit tests pass locally. Some useful doc can be found here: https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-test/MIGRATION.md#simplify-code-by-removing-unneeded-entities but I have tested that and it does not work. |
- the switch from runBlockingTest to runTest means we need to provide a separate scope from the test in order to asynchronously collect the flow results
I've pushed fdf3cc3 as a fix for the tests, switching from |
@@ -84,6 +90,11 @@ class LocalePickerController @Inject constructor( | |||
} | |||
} | |||
} | |||
is Fail -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was this a missing case? (and the update caught it? 🎉 )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added the code for the when
to be exhaustive, but I think at this place it cannot fail, since we are loading locale data. But who knows?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome stuff @bmarty thanks for taking the time to update all the places! 💯
@@ -9,13 +9,13 @@ ext.versions = [ | |||
|
|||
def gradle = "7.0.4" | |||
// Ref: https://kotlinlang.org/releases.html | |||
def kotlin = "1.5.31" | |||
def kotlinCoroutines = "1.5.2" | |||
def kotlin = "1.6.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hopefully the update to 1.6.10 will be much simpler
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I have seen that 1.6.10 is available, but I prefer dependabot to do his work :)
Thanks to you for fixing the issue with tests. I think I would not be able to fix it by myself, I am a bit lost with all those coroutines stuff :/ |
EDIT @bmarty
when
so I have just deleted ourexhaustive
trick, it is not needed anymore.End of EDIT
Bumps kotlin-gradle-plugin from 1.5.31 to 1.6.0.
Release notes
Sourced from kotlin-gradle-plugin's releases.
... (truncated)
Changelog
Sourced from kotlin-gradle-plugin's changelog.
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)