From a9c993651c47447472b89ec9b66b8c74a2f42b28 Mon Sep 17 00:00:00 2001 From: Yang Date: Fri, 17 Jun 2022 23:54:56 +1000 Subject: [PATCH] Build tools 33.0.0. Update test fixture dependencies. --- src/sdk-installer.ts | 2 +- test-fixture/app/build.gradle | 6 +++--- test-fixture/build.gradle | 6 +++--- test-fixture/gradle/wrapper/gradle-wrapper.properties | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/sdk-installer.ts b/src/sdk-installer.ts index 39e52b894..29526d7e1 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 = '32.0.0'; +const BUILD_TOOLS_VERSION = '33.0.0'; const CMDLINE_TOOLS_URL_MAC = 'https://dl.google.com/android/repository/commandlinetools-mac-8512546_latest.zip'; const CMDLINE_TOOLS_URL_LINUX = 'https://dl.google.com/android/repository/commandlinetools-linux-8512546_latest.zip'; diff --git a/test-fixture/app/build.gradle b/test-fixture/app/build.gradle index bde6caed9..82b4d4f50 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 32 - buildToolsVersion "32.0.0" + compileSdkVersion 33 + buildToolsVersion "33.0.0" defaultConfig { applicationId "com.example.testapp" minSdkVersion 15 - targetSdkVersion 32 + targetSdkVersion 33 versionCode 1 versionName "1.0" diff --git a/test-fixture/build.gradle b/test-fixture/build.gradle index dacf921a1..346ab7a88 100644 --- a/test-fixture/build.gradle +++ b/test-fixture/build.gradle @@ -1,10 +1,10 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.6.21' + ext.kotlin_version = '1.7.0' repositories { google() - jcenter() + mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:7.2.1' @@ -18,7 +18,7 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() } } diff --git a/test-fixture/gradle/wrapper/gradle-wrapper.properties b/test-fixture/gradle/wrapper/gradle-wrapper.properties index ab4bea5b5..5969f534d 100644 --- a/test-fixture/gradle/wrapper/gradle-wrapper.properties +++ b/test-fixture/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip