Set BUILD_TOOLS_VERSION for Spa
Bug: 253772249 Test: Gradle Sync Test: Run Gallery Change-Id: Ice8d664f3023cab01485bb5f7045312e60aeb4bb
This commit is contained in:
@@ -16,9 +16,10 @@
|
||||
|
||||
buildscript {
|
||||
ext {
|
||||
spa_min_sdk = 21
|
||||
spa_target_sdk = 33
|
||||
jetpack_compose_version = '1.3.0'
|
||||
BUILD_TOOLS_VERSION = "30.0.3"
|
||||
MIN_SDK = 21
|
||||
TARGET_SDK = 33
|
||||
jetpack_compose_version = '1.4.0-alpha01'
|
||||
jetpack_compose_compiler_version = '1.3.2'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,12 +21,13 @@ plugins {
|
||||
|
||||
android {
|
||||
namespace 'com.android.settingslib.spa.gallery'
|
||||
compileSdk spa_target_sdk
|
||||
compileSdk TARGET_SDK
|
||||
buildToolsVersion = BUILD_TOOLS_VERSION
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.android.settingslib.spa.gallery"
|
||||
minSdk spa_min_sdk
|
||||
targetSdk spa_target_sdk
|
||||
minSdk MIN_SDK
|
||||
targetSdk TARGET_SDK
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
}
|
||||
|
||||
@@ -21,11 +21,12 @@ plugins {
|
||||
|
||||
android {
|
||||
namespace 'com.android.settingslib.spa'
|
||||
compileSdk spa_target_sdk
|
||||
compileSdk TARGET_SDK
|
||||
buildToolsVersion = BUILD_TOOLS_VERSION
|
||||
|
||||
defaultConfig {
|
||||
minSdk spa_min_sdk
|
||||
targetSdk spa_target_sdk
|
||||
minSdk MIN_SDK
|
||||
targetSdk TARGET_SDK
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -21,11 +21,12 @@ plugins {
|
||||
|
||||
android {
|
||||
namespace 'com.android.settingslib.spa.tests'
|
||||
compileSdk spa_target_sdk
|
||||
compileSdk TARGET_SDK
|
||||
buildToolsVersion = BUILD_TOOLS_VERSION
|
||||
|
||||
defaultConfig {
|
||||
minSdk spa_min_sdk
|
||||
targetSdk spa_target_sdk
|
||||
minSdk MIN_SDK
|
||||
targetSdk TARGET_SDK
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
@@ -60,7 +61,6 @@ android {
|
||||
dependencies {
|
||||
androidTestImplementation project(":spa")
|
||||
androidTestImplementation project(":testutils")
|
||||
androidTestImplementation "androidx.test.ext:junit-ktx:1.1.3"
|
||||
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$jetpack_compose_version"
|
||||
androidTestImplementation "com.google.truth:truth:1.1.3"
|
||||
androidTestImplementation "org.mockito:mockito-android:3.4.6"
|
||||
|
||||
@@ -20,11 +20,12 @@ plugins {
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdk spa_target_sdk
|
||||
compileSdk TARGET_SDK
|
||||
buildToolsVersion = BUILD_TOOLS_VERSION
|
||||
|
||||
defaultConfig {
|
||||
minSdk spa_min_sdk
|
||||
targetSdk spa_target_sdk
|
||||
minSdk MIN_SDK
|
||||
targetSdk TARGET_SDK
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
Reference in New Issue
Block a user