From 97b3c40bbb5ba82be1e1b1f7ee67e82664d55ae9 Mon Sep 17 00:00:00 2001 From: Igor Randjelovic Date: Fri, 8 Oct 2021 16:03:07 +0200 Subject: [PATCH 1/2] chore: add android-31 to supported targets --- lib/android-tools-info.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/android-tools-info.ts b/lib/android-tools-info.ts index 2681cfc..9430076 100644 --- a/lib/android-tools-info.ts +++ b/lib/android-tools-info.ts @@ -26,7 +26,8 @@ export class AndroidToolsInfo implements NativeScriptDoctor.IAndroidToolsInfo { "android-27", "android-28", "android-29", - "android-30" + "android-30", + "android-31", ]; if (runtimeVersion && semver.lt(semver.coerce(runtimeVersion), "6.1.0")) { From d880fc5f822ab601a0a72f5975c78c1a967d7778 Mon Sep 17 00:00:00 2001 From: Igor Randjelovic Date: Fri, 8 Oct 2021 16:04:59 +0200 Subject: [PATCH 2/2] test: update test --- test/android-tools-info.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/android-tools-info.ts b/test/android-tools-info.ts index c156ee1..6468a54 100644 --- a/test/android-tools-info.ts +++ b/test/android-tools-info.ts @@ -79,9 +79,9 @@ describe("androidToolsInfo", () => { }); describe("supportedAndroidSdks", () => { - it("should support android-17 - android-30", () => { + it("should support android-17 - android-31", () => { const min = 17; - const max = 30; + const max = 31; let cnt = 0; const androidToolsInfo = getAndroidToolsInfo("6.5.0"); const supportedTargets = androidToolsInfo.getSupportedTargets("test");