-
Notifications
You must be signed in to change notification settings - Fork 15
/
BUILD.bazel
34 lines (27 loc) · 936 Bytes
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
load("@bazel_common_dagger//:workspace_defs.bzl", "dagger_rules")
load("@grab_bazel_common//tools/parcelize:parcelize.bzl", "parcelize_rules")
load("@io_bazel_rules_kotlin//kotlin:core.bzl", "define_kt_toolchain", "kt_javac_options", "kt_kotlinc_options")
kt_kotlinc_options(
name = "kt_kotlinc_options",
)
kt_javac_options(
name = "kt_javac_options",
)
define_kt_toolchain(
name = "kotlin_toolchain",
api_version = "1.7",
experimental_multiplex_workers = True,
experimental_report_unused_deps = "off",
experimental_strict_kotlin_deps = "off",
experimental_use_abi_jars = True,
javac_options = "//:kt_javac_options",
jvm_target = "11",
kotlinc_options = "//:kt_kotlinc_options",
language_version = "1.7",
)
dagger_rules(
repo_name = "@bazel_common_maven",
)
parcelize_rules()
load("@grab_bazel_common//toolchains:toolchains.bzl", "configure_toolchains")
configure_toolchains()