Skip to content

Commit

Permalink
Fix desugar flag
Browse files Browse the repository at this point in the history
--min-api seems to not be a valid flag anymore. Use --min_sdk_version
instead.
  • Loading branch information
ted-xie committed Mar 22, 2024
1 parent 5ba805c commit c410842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/android/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ genrule(
genrule(
name = "d8_desugar_params",
outs = ["d8_desugar_params.txt"],
cmd = "echo -n --min-api 19 > $@",
cmd = "echo -n --min_sdk_version 19 > $@",
visibility = ["//visibility:private"],
)

Expand Down

0 comments on commit c410842

Please sign in to comment.