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

build: update kotlin to 1.5.10 and remove warnings #1965

Merged
merged 1 commit into from
May 25, 2021

Conversation

piotradamczyk5
Copy link
Contributor

Fixes #1962

Test Plan

How do we know the code works?

Code compiles without any problem, there should not be any errors and warnings

@github-actions
Copy link
Contributor

github-actions bot commented May 24, 2021

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@github-actions github-actions bot added dependencies Pull requests that update a dependency file Feature Tiger 🐯 labels May 24, 2021
@github-actions
Copy link
Contributor

github-actions bot commented May 24, 2021

Timestamp: 2021-05-25 10:16:14
Buildscan url for ubuntu-workflow run 874488867

@pawelpasterz
Copy link
Contributor

@flank-it

@github-actions
Copy link
Contributor

github-actions bot commented May 25, 2021

Integration tests failed ❌
Windows status failure - Build scan:
MacOS status failure - Build scan:
Linux status failure - Build scan: https://gradle.com/s/dmxlswnmz7gm2
Workflow run https://github.com/Flank/flank/actions/runs/873571454

@pawelpasterz
Copy link
Contributor

Answering #1926 (comment)
Looks like it's working, there are couple of warnings left https://github.com/Flank/flank/pull/1965/checks?check_run_id=2658359081#step:7:383
Should we add implementation(...) to all those modules?

Let's also verify shadow jar size after all is fixed

@piotradamczyk5
Copy link
Contributor Author

Answering #1926 (comment)
Looks like it's working, there are couple of warnings left https://github.com/Flank/flank/pull/1965/checks?check_run_id=2658359081#step:7:383
...
Let's also verify shadow jar size after all is fixed

I would fix #1926 in separate task (#1926 😄 ) because there could be also new warnings and as you mention we must validate fat jar size.

Should we add implementation(...) to all those modules?

I am not sure, this is one of the possible resolution. In flank we force libraries to use reflect with the same version as kotlin one, but I am not sure if this works

@piotradamczyk5
Copy link
Contributor Author

Integration tests failed ❌
Windows status failure - Build scan:
MacOS status failure - Build scan:
Linux status failure - Build scan: https://gradle.com/s/dmxlswnmz7gm2
Workflow run https://github.com/Flank/flank/actions/runs/873571454

Quota...

@@ -12,7 +12,7 @@ import kotlinx.coroutines.launch

val executeAndroidTestPlan = AndroidTestPlan.Execute { config ->
config.instances.map { (instanceId, commands: List<String>) ->
channelFlow {
channelFlow<String> {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

For curios developers, this caused build errors (missing explicit type)

@pawelpasterz
Copy link
Contributor

Answering #1926 (comment)
Looks like it's working, there are couple of warnings left https://github.com/Flank/flank/pull/1965/checks?check_run_id=2658359081#step:7:383
...
Let's also verify shadow jar size after all is fixed

I would fix #1926 in separate task (#1926 😄 ) because there could be also new warnings and as you mention we must validate fat jar size.

Makes sense. Thanks!

Should we add implementation(...) to all those modules?

I am not sure, this is one of the possible resolution. In flank we force libraries to use reflect with the same version as kotlin one, but I am not sure if this works

👍🏻

@pawelpasterz
Copy link
Contributor

@flank-it

@github-actions
Copy link
Contributor

github-actions bot commented May 25, 2021

Integration tests succeed for all OSes ✅
Windows Build scan:
MacOS Build scan: https://gradle.com/s/ovc27kdwacup2
Linux Build scan: https://gradle.com/s/pftzvd4ohax5q
Workflow run https://github.com/Flank/flank/actions/runs/874353871

@mergify mergify bot merged commit 627b75c into master May 25, 2021
@mergify mergify bot deleted the 1962_upgrade_kotlin branch May 25, 2021 10:47
@github-actions github-actions bot locked and limited conversation to collaborators May 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file Feature Tiger 🐯
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade Kotlin to 1.5
3 participants