Skip to content

Duplicate LibVersionKt causing Android build failure #272

@kpavlov

Description

@kpavlov

Describe the bug

JetBrains/koog#804

To Reproduce
Steps to reproduce the behavior:

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':composeApp:checkDebugDuplicateClasses'.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Duplicate class io.modelcontextprotocol.kotlin.sdk.LibVersionKt found in modules kotlin-sdk-client-jvm-0.7.0.jar -> kotlin-sdk-client-jvm-0.7.0 (io.modelcontextprotocol:kotlin-sdk-client-jvm:0.7.0) and kotlin-sdk-core-jvm-0.7.0.jar -> kotlin-sdk-core-jvm-0.7.0 (io.modelcontextprotocol:kotlin-sdk-core-jvm:0.7.0)

Expected behavior
A clear and concise description of what you expected to happen.

Logs
If applicable, add logs to help explain your problem.

Additional context
Add any other context about the problem here.

DoD

We need an integration/smoke test to verify Android client. It should catch duplicate class errors at build time

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions