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

layoutlib 14 redeclares org.jetbrains.annotations.NotNull #1719

Open
eygraber opened this issue Nov 26, 2024 · 0 comments
Open

layoutlib 14 redeclares org.jetbrains.annotations.NotNull #1719

eygraber opened this issue Nov 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@eygraber
Copy link

Description
DAGP warns when there are duplicate classes on your classpath.

I started getting warnings that look like:

Warnings
Some of your classpaths have duplicate classes, which means the compile and runtime behavior can be sensitive to the classpath order.

Source set: devDebug
\--- compile classpath
     \--- org/jetbrains/annotations/NotNull is provided by multiple dependencies: [com.android.tools.layoutlib:layoutlib:14.0.11, org.jetbrains:annotations:23.0.0]
\--- runtime classpath
     \--- org/jetbrains/annotations/NotNull is provided by multiple dependencies: [com.android.tools.layoutlib:layoutlib:14.0.11, org.jetbrains:annotations:23.0.0]

This happens with Paparazzi 1.3.5, which uses that version of layoutlib. Using Paparazzi 2.0.0-SNAPSHOT resolves the issue (presumably the issue was resolved in layoutlib 15).

Is there any way to backport something to 1.3.X that will fix this?

@eygraber eygraber added the bug Something isn't working label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant