aboutsummaryrefslogtreecommitdiff
path: root/kotlin
diff options
context:
space:
mode:
authornickreid <nickreid@google.com>2022-08-23 00:12:40 -0700
committerCopybara-Service <copybara-worker@google.com>2022-08-23 00:13:08 -0700
commit88bd1bb10a88b51302f439e48292f069095d30d0 (patch)
tree528f2dac5835bf35a570e4e7182073c5f367ea85 /kotlin
parentc70bbabc81c534fe03c96c9984b3d2c8b7e0335c (diff)
downloadbazelbuild-kotlin-rules-88bd1bb10a88b51302f439e48292f069095d30d0.tar.gz
Clean up references to kt_jvm_compile aliases.
PiperOrigin-RevId: 469382177 Change-Id: I659f42d7ea697d52e2d8c65fefc008ce5918c0db
Diffstat (limited to 'kotlin')
-rw-r--r--kotlin/jvm_library.internal.bzl4
1 files changed, 2 insertions, 2 deletions
diff --git a/kotlin/jvm_library.internal.bzl b/kotlin/jvm_library.internal.bzl
index 83d0640..b653e7b 100644
--- a/kotlin/jvm_library.internal.bzl
+++ b/kotlin/jvm_library.internal.bzl
@@ -21,7 +21,7 @@ load("@bazel_skylib//lib:dicts.bzl", "dicts")
load(":common.bzl", "common")
load(":compiler_plugin.bzl", "KtCompilerPluginInfo")
load(":traverse_exports.bzl", "kt_traverse_exports")
-load(":jvm_compile.bzl", "compile")
+load(":jvm_compile.bzl", "kt_jvm_compile")
# TODO: Use this function in all Kotlin rules
def _make_default_info(ctx, direct_files, propagated_attrs):
@@ -53,7 +53,7 @@ def _jvm_library_impl(ctx):
if not ctx.files.srcs and not ctx.files.common_srcs:
fail("srcs attribute or common_srcs attribute of rule %s must be non empty" % ctx.label)
- compile_result = compile(
+ compile_result = kt_jvm_compile(
ctx,
output = ctx.outputs.jar,
srcs = ctx.files.srcs,