Skip to content

Commit

Permalink
Default Starlark value of fields final_proguard_output_map and java_s…
Browse files Browse the repository at this point in the history
…ource_jar to None.

This is to prevent breaking all the existing AndroidDexInfo usage by adding the field final_proguard_output_map

PiperOrigin-RevId: 560145595
Change-Id: I09547aa6e742327f528bf2116a85cad100f407bc
  • Loading branch information
Zhaoqing Xu authored and pull[bot] committed Dec 15, 2023
1 parent c67c0ff commit 2db83b4
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,17 @@ interface Provider<FileT extends FileApi> extends ProviderApi {
@ParamType(type = NoneType.class),
},
named = true,
doc = "The final proguard output map."),
doc = "The final proguard output map.",
defaultValue = "None"),
@Param(
name = "java_resource_jar",
allowedTypes = {
@ParamType(type = FileApi.class),
@ParamType(type = NoneType.class),
},
named = true,
doc = "The final Java resource jar."),
doc = "The final Java resource jar.",
defaultValue = "None")
},
selfCall = true)
@StarlarkConstructor
Expand Down

0 comments on commit 2db83b4

Please sign in to comment.