Skip to content

Non-optional dependency not provided #229

@guusdk

Description

@guusdk

In SystemTray v4.4, there doesn't appear to be a way to not need a Kotlin reflection implementation (which is used by dorkbox.updates.Updates that I don't think can be disabled).

The dependency isn't provided with com.dorkbox:SystemTray:4.4, causing errors like this to be thrown:

kotlin.jvm.KotlinReflectionNotSupportedError: Kotlin reflection implementation is not found at runtime. Make sure you have kotlin-reflect.jar in the classpath
	at kotlin.jvm.internal.ClassReference.error(ClassReference.kt:79)
	at kotlin.jvm.internal.ClassReference.getQualifiedName(ClassReference.kt:15)
	at dorkbox.updates.Updates.<clinit>(Updates.kt:25)
	at dorkbox.os.OS.<clinit>(OS.kt:34)
	at dorkbox.systemTray.SystemTray.<clinit>(SystemTray.java:101)

Is there a way to instantiate a SystemTray without requiring that library? If not, should it be added as a non-optional dependency to the SystemTray project?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions