From ebfbad29692b9d766f9f1f197da1ffa58dc3412a Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Tue, 6 Apr 2021 19:21:34 +0000 Subject: [PATCH] Revert^2 "Set min_sdk_version for java imports in pom2bp" f99ba271012cd602b454291f73a84c559fea6189 Change-Id: Ic88670182029ace2e6dcdcae2713cb48bb0f59cd --- cmd/pom2bp/pom2bp.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/pom2bp/pom2bp.go b/cmd/pom2bp/pom2bp.go index d9116b081..d31489e3a 100644 --- a/cmd/pom2bp/pom2bp.go +++ b/cmd/pom2bp/pom2bp.go @@ -401,6 +401,8 @@ var bpTemplate = template.Must(template.New("bp").Parse(` {{- end}} ], {{- end}} + {{- else if not .IsHostOnly}} + min_sdk_version: "{{.DefaultMinSdkVersion}}", {{- end}} } `)) @@ -442,6 +444,8 @@ var bpDepsTemplate = template.Must(template.New("bp").Parse(` {{- end}} ], {{- end}} + {{- else if not .IsHostOnly}} + min_sdk_version: "{{.DefaultMinSdkVersion}}", {{- end}} }