Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support optional source_jar #482

Conversation

Bencodes
Copy link
Collaborator

@Bencodes Bencodes commented Feb 17, 2021

Creating a kt_jvm_import target without source jars crashes.

Traceback (most recent call last):
        File "/private/var/tmp/_bazel_blee/499a001013731d09bffd82f8601a3161/external/io_bazel_rules_kotlin/kotlin/internal/jvm/impl.bzl", line 141, column 40, in kt_jvm_import_impl
                runfiles = ctx.runfiles(files = [artifact.class_jar, artifact.source_jar]),
Error in runfiles: at index 0 of files, got element of type NoneType, want File

@restingbull restingbull merged commit 0478588 into bazelbuild:master Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants