From b9eb7720e9a4545eedbca2dc895c55441b60a9c3 Mon Sep 17 00:00:00 2001 From: Scotte Zinn Date: Fri, 12 Feb 2021 21:46:06 -0500 Subject: [PATCH] Set the compile jar to be the same as the output jar --- kotlin/internal/jvm/compile.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kotlin/internal/jvm/compile.bzl b/kotlin/internal/jvm/compile.bzl index 896d53faa..58e0ae78f 100644 --- a/kotlin/internal/jvm/compile.bzl +++ b/kotlin/internal/jvm/compile.bzl @@ -609,7 +609,7 @@ def kt_jvm_produce_jar_actions(ctx, rule_kind): java_info = JavaInfo( output_jar = output_jar, - compile_jar = compile_jar, + compile_jar = output_jar, source_jar = source_jar, jdeps = ctx.outputs.jdeps, deps = compile_deps.deps, @@ -633,7 +633,7 @@ def kt_jvm_produce_jar_actions(ctx, rule_kind): jdeps = ctx.outputs.jdeps, jars = [struct( class_jar = output_jar, - ijar = compile_jar, + ijar = output_jar, source_jars = [source_jar], )], ),