From e35fd713f42f291d6ccfabb355cbfb2a67517833 Mon Sep 17 00:00:00 2001 From: Yang Date: Wed, 26 Jan 2022 11:26:11 +1100 Subject: [PATCH] Update build tools to 32.0.0. Update text-fixture compileSdkVersion and targetSdkVersion to 32. (#212) --- lib/sdk-installer.js | 2 +- src/sdk-installer.ts | 2 +- test-fixture/app/build.gradle | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/sdk-installer.js b/lib/sdk-installer.js index 348ac87b..62e844f9 100644 --- a/lib/sdk-installer.js +++ b/lib/sdk-installer.js @@ -34,7 +34,7 @@ const exec = __importStar(require("@actions/exec")); const io = __importStar(require("@actions/io")); const tc = __importStar(require("@actions/tool-cache")); const fs = __importStar(require("fs")); -const BUILD_TOOLS_VERSION = '31.0.0'; +const BUILD_TOOLS_VERSION = '32.0.0'; const CMDLINE_TOOLS_URL_MAC = 'https://dl.google.com/android/repository/commandlinetools-mac-7583922_latest.zip'; const CMDLINE_TOOLS_URL_LINUX = 'https://dl.google.com/android/repository/commandlinetools-linux-7583922_latest.zip'; /** diff --git a/src/sdk-installer.ts b/src/sdk-installer.ts index 57de8e89..40bb4d07 100644 --- a/src/sdk-installer.ts +++ b/src/sdk-installer.ts @@ -4,7 +4,7 @@ import * as io from '@actions/io'; import * as tc from '@actions/tool-cache'; import * as fs from 'fs'; -const BUILD_TOOLS_VERSION = '31.0.0'; +const BUILD_TOOLS_VERSION = '32.0.0'; const CMDLINE_TOOLS_URL_MAC = 'https://dl.google.com/android/repository/commandlinetools-mac-7583922_latest.zip'; const CMDLINE_TOOLS_URL_LINUX = 'https://dl.google.com/android/repository/commandlinetools-linux-7583922_latest.zip'; diff --git a/test-fixture/app/build.gradle b/test-fixture/app/build.gradle index a07d7aa0..bde6caed 100644 --- a/test-fixture/app/build.gradle +++ b/test-fixture/app/build.gradle @@ -2,13 +2,13 @@ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' android { - compileSdkVersion 31 - buildToolsVersion "31.0.0" + compileSdkVersion 32 + buildToolsVersion "32.0.0" defaultConfig { applicationId "com.example.testapp" minSdkVersion 15 - targetSdkVersion 31 + targetSdkVersion 32 versionCode 1 versionName "1.0"