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

Upgrading to Konfetti 2.0.1 -> compilation warning #286

Closed
bmarty opened this issue Jan 31, 2022 · 7 comments
Closed

Upgrading to Konfetti 2.0.1 -> compilation warning #286

bmarty opened this issue Jan 31, 2022 · 7 comments

Comments

@bmarty
Copy link

bmarty commented Jan 31, 2022

See this PR: https://buildkite.com/matrix-dot-org/element-android/builds/5770

You can see the warning in the CI logs. I get this warning:

 w: Runtime JAR files in the classpath should have the same version. These files were found in the classpath:
    /home/runner/.gradle/caches/transforms-3/41d05d97beee476cec3719b95e795601/transformed/jetified-kotlin-stdlib-jdk8-1.5.31.jar (version 1.5)
    /home/runner/.gradle/caches/transforms-3/cee23d725568e4b6759fa7d67a5ff9d9/transformed/jetified-kotlin-stdlib-jdk7-1.5.31.jar (version 1.5)
    /home/runner/.gradle/caches/transforms-3/0393eb3dd5596ff020754d2c6fc3662b/transformed/jetified-kotlin-stdlib-1.6.0.jar (version 1.6)
    /home/runner/.gradle/caches/transforms-3/78fef6caf680a33558f1ee83f52758dc/transformed/jetified-kotlin-stdlib-common-1.6.0.jar (version 1.6)
w: Some runtime JAR files in the classpath have an incompatible version. Consider removing them from the classpath

I am not sure how to get ride of this warning, if anyone has an idea.

@DanielMartinus
Copy link
Owner

Just to be sure. Are they 100% related to Konfetti? You don't see them if you don't upgrade Konfetti to 2.0.1?

@bmarty
Copy link
Author

bmarty commented Feb 2, 2022

Yes. there is no warning like that with Konfetti 1.3.2.

The PR link is element-hq/element-android#5079 by the way. In the description this is our CI build.

@DanielMartinus
Copy link
Owner

@bmarty I've just released a new version 2.0.2. Would you be able to test whether the issue is still there for you?

@bmarty
Copy link
Author

bmarty commented Feb 22, 2022

Thanks!
Trying right now in element-hq/element-android@5f490b8
Waiting for the CI to work a bit.

@DanielMartinus
Copy link
Owner

Hmm I see it's still the case and apparently to do so in combination with Jetified. I'll have to dive deeper into this to see if I can reproduce it

@bmarty
Copy link
Author

bmarty commented Feb 23, 2022

Yes, thanks for handling this issue @DanielMartinus !

@bmarty
Copy link
Author

bmarty commented Apr 4, 2022

I do not have the compilation warning anymore, probably due to the upgrade of one of our other dependency (Jitsi maybe).

I close the issue, thanks for the time you spent to check that.

@bmarty bmarty closed this as completed Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants