Skip to content

Commit f82c58b

Browse files
fishypcj
authored andcommitted
Use android_library.exports instead of deps (#36)
This fixes the deprecation error introduced in Bazel 0.7.0.
1 parent 9d297eb commit f82c58b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kotlin/rules.bzl

+2-2
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def kotlin_android_library(
204204
native.android_library(
205205
name = name + "_aar",
206206
neverlink = 1,
207-
deps = aar_deps,
207+
exports = aar_deps,
208208
)
209209

210210
native.java_import(
@@ -244,7 +244,7 @@ def kotlin_android_library(
244244

245245
native.android_library(
246246
name = name,
247-
deps = aar_deps + res_deps + [
247+
exports = aar_deps + res_deps + [
248248
name + "_kt",
249249
],
250250
proguard_specs = proguard_specs,

0 commit comments

Comments
 (0)