-
Notifications
You must be signed in to change notification settings - Fork 19
/
BUILD.bazel
33 lines (26 loc) · 925 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
load("@dagger//:workspace_defs.bzl", "dagger_rules")
load("@grab_bazel_common//toolchains:toolchains.bzl", "configure_common_toolchains")
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 = "17",
kotlinc_options = "//:kt_kotlinc_options",
language_version = "1.7",
)
dagger_rules()
parcelize_rules()
configure_common_toolchains()
exports_files(["lint.xml"])