<#3911 [BUG] flytekit-java leaks flytekit-api depe...
# flyte-github
a
#3911 [BUG] flytekit-java leaks flytekit-api dependency to user code space Issue created by honnix Describe the bug https://github.com/flyteorg/flytekit-java/blob/54a94b48e52b1a09788eaf527fcb1166dfb8506e/flytekit-scala_2.13/pom.xml#L48, this leaks flytekit-api to user code space, which doesn't has impact due to ChildFirstClassLoader, but it is not nice and can be confusing when see this jar under user code classpath. Expected behavior flytekit-api is not pulled into user code space when depending on flytekit-scala. Additional context to reproduce No response Screenshots No response Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte