Skip to content

Embed dependencies brake Kotlin projects compilation #107

@dlecan

Description

@dlecan

Hello,

I wonder why the Kotlin runtime is packaged with this "fat" jar.
It leads to compilation errors:
w: Some JAR files in the classpath have the Kotlin Runtime library bundled into them. This may cause difficult to debug problems if there's a different version of the Kotlin Runtime library in the classpath. Consider removing these libraries from the classpath
Then it breaks compilation.

Look at the content of the jar:

https://repo1.maven.org/maven2/com/smartcar/sdk/java-sdk/3.2.1/java-sdk-3.2.1.jar

Content :

com/google/
com/google/gson/
com/google/gson/annotations/
com/google/gson/internal/
com/google/gson/internal/bind/
com/google/gson/internal/bind/util/
com/google/gson/internal/reflect/
com/google/gson/reflect/
com/google/gson/stream/
com/smartcar/
com/smartcar/sdk/
com/smartcar/sdk/data/
javax/
javax/json/
javax/json/spi/
javax/json/stream/
kotlin/
kotlin/annotation/
kotlin/annotation/annotation.kotlin_builtins
kotlin/collections/
kotlin/collections/builders/
kotlin/collections/collections.kotlin_builtins
kotlin/collections/unsigned/
kotlin/comparisons/
kotlin/concurrent/
kotlin/contracts/
kotlin/coroutines/
kotlin/coroutines/cancellation/
kotlin/coroutines/coroutines.kotlin_builtins
kotlin/coroutines/intrinsics/
kotlin/coroutines/jvm/
kotlin/coroutines/jvm/internal/
kotlin/experimental/
kotlin/internal/
kotlin/internal/internal.kotlin_builtins
kotlin/io/
kotlin/js/
kotlin/jvm/
kotlin/jvm/functions/
kotlin/jvm/internal/
kotlin/jvm/internal/markers/
kotlin/jvm/internal/unsafe/
kotlin/kotlin.kotlin_builtins
kotlin/math/
kotlin/native/
kotlin/native/concurrent/
kotlin/properties/
kotlin/random/
kotlin/ranges/
kotlin/ranges/ranges.kotlin_builtins
kotlin/reflect/
kotlin/reflect/reflect.kotlin_builtins
kotlin/sequences/
kotlin/system/
kotlin/text/
kotlin/time/
okhttp3/
okhttp3/internal/
okhttp3/internal/authenticator/
okhttp3/internal/cache/
okhttp3/internal/cache2/
okhttp3/internal/concurrent/
okhttp3/internal/connection/
okhttp3/internal/http/
okhttp3/internal/http1/
okhttp3/internal/http2/
okhttp3/internal/io/
okhttp3/internal/platform/
okhttp3/internal/platform/android/
okhttp3/internal/proxy/
okhttp3/internal/publicsuffix/
okhttp3/internal/publicsuffix/NOTICE
okhttp3/internal/publicsuffix/publicsuffixes.gz
okhttp3/internal/tls/
okhttp3/internal/ws/
okio/
okio/internal/
org/
org/apache/
org/apache/commons/
org/apache/commons/codec/
org/apache/commons/codec/binary/
org/apache/commons/codec/digest/
org/apache/commons/codec/language/
org/apache/commons/codec/language/bm/
org/apache/commons/codec/net/
org/apache/commons/lang3/
org/apache/commons/lang3/arch/
org/apache/commons/lang3/builder/
org/apache/commons/lang3/concurrent/
org/apache/commons/lang3/event/
org/apache/commons/lang3/exception/
org/apache/commons/lang3/math/
org/apache/commons/lang3/mutable/
org/apache/commons/lang3/reflect/
org/apache/commons/lang3/text/
org/apache/commons/lang3/text/translate/
org/apache/commons/lang3/time/
org/apache/commons/lang3/tuple/
org/apache/commons/text/
org/apache/commons/text/diff/
org/apache/commons/text/similarity/
org/apache/commons/text/translate/
org/glassfish/
org/glassfish/json/
org/glassfish/json/api/
org/glassfish/json/messages.properties
org/intellij/
org/intellij/lang/
org/intellij/lang/annotations/
org/jetbrains/
org/jetbrains/annotations/

Is it possible to download somewhere only the com.smartcar.* jar ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions