Skip to content

Commit fb30529

Browse files
authored
Update JC plugin to support AS Layout Inspector (#1297)
1 parent c0935e1 commit fb30529

File tree

1 file changed

+4
-1
lines changed
  • examples/jetpack_compose

1 file changed

+4
-1
lines changed

examples/jetpack_compose/BUILD

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ define_kt_toolchain(
1818

1919
kt_compiler_plugin(
2020
name = "jetpack_compose_compiler_plugin",
21-
id = "androidx.compose.compiler",
21+
id = "androidx.compose.compiler.plugins.kotlin",
22+
options = {
23+
"sourceInformation": "true", # Required for AS Layout Inspector, disable for release builds
24+
},
2225
target_embedded_compiler = True,
2326
visibility = ["//visibility:public"],
2427
deps = [

0 commit comments

Comments
 (0)