Merge "Set min_sdk_version for java imports in pom2bp"
This commit is contained in:
commit
85822e9b5f
|
@ -401,6 +401,8 @@ var bpTemplate = template.Must(template.New("bp").Parse(`
|
||||||
{{- end}}
|
{{- end}}
|
||||||
],
|
],
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
{{- else if not .IsHostOnly}}
|
||||||
|
min_sdk_version: "{{.DefaultMinSdkVersion}}",
|
||||||
{{- end}}
|
{{- end}}
|
||||||
}
|
}
|
||||||
`))
|
`))
|
||||||
|
@ -442,6 +444,8 @@ var bpDepsTemplate = template.Must(template.New("bp").Parse(`
|
||||||
{{- end}}
|
{{- end}}
|
||||||
],
|
],
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
{{- else if not .IsHostOnly}}
|
||||||
|
min_sdk_version: "{{.DefaultMinSdkVersion}}",
|
||||||
{{- end}}
|
{{- end}}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue