Skip to content

Desugar Task should provide deps / --classpath_entry(s) #2143

@erikpowa

Description

@erikpowa

Steps to Reproduce

  1. Build an app project with some binding library

Expected Behavior

desugar_deploy.jar desugaring .jar with dependencies without exception

Actual Behavior

Desugar entirely skips the --classpath_entry dependencies for .jar (or it's by design? please no) when desugar_deploy.jar gets called, causing failures just like:

1> Exception in thread "main" java.lang.TypeNotPresentException: Type okhttp3.Interceptor not present

Version Information

xa sdk 9.1.0.19

Fast repro + good scenario

xabug.zip

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