Skip to content

Commit afefd4c

Browse files
Merge pull request #42 from NativeScript/vladimirov/compile-sdk-28
feat: allow using android-28 SDK for building apps
2 parents 4d502a9 + 5742630 commit afefd4c

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

lib/android-tools-info.ts

+13-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,19 @@ import * as path from "path";
99

1010
export class AndroidToolsInfo implements NativeScriptDoctor.IAndroidToolsInfo {
1111
private static ANDROID_TARGET_PREFIX = "android";
12-
private static SUPPORTED_TARGETS = ["android-17", "android-18", "android-19", "android-21", "android-22", "android-23", "android-24", "android-25", "android-26", "android-27"];
12+
private static SUPPORTED_TARGETS = [
13+
"android-17",
14+
"android-18",
15+
"android-19",
16+
"android-21",
17+
"android-22",
18+
"android-23",
19+
"android-24",
20+
"android-25",
21+
"android-26",
22+
"android-27",
23+
"android-28",
24+
];
1325
private static MIN_REQUIRED_COMPILE_TARGET = 22;
1426
private static REQUIRED_BUILD_TOOLS_RANGE_PREFIX = ">=23";
1527
private static VERSION_REGEX = /((\d+\.){2}\d+)/;

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-doctor",
3-
"version": "1.3.0",
3+
"version": "1.4.0",
44
"description": "Library that helps identifying if the environment can be used for development of {N} apps.",
55
"main": "lib/index.js",
66
"types": "./typings/nativescript-doctor.d.ts",

0 commit comments

Comments
 (0)