/* * Copyright (C) 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ plugins { alias(libs.plugins.jetbrains.kotlin.android) alias(libs.plugins.android.application) } android { compileSdk 34 defaultConfig { applicationId "androidx.car.app.sample.showcase" minSdkVersion 23 targetSdkVersion 34 // Increment this to generate signed builds for uploading to Playstore // Make sure this is different from the showcase-automotive version versionCode 114 versionName "114" } buildTypes { release { // Enables code shrinking, obfuscation, and optimization. minifyEnabled true proguardFiles getDefaultProguardFile( 'proguard-android-optimize.txt'), 'proguard-rules.pro' } } java.toolchain { languageVersion.set(JavaLanguageVersion.of(libs.versions.java.get())) } kotlinOptions { jvmTarget = libs.versions.java.get() } testOptions.unitTests.includeAndroidResources true namespace "androidx.car.app.sample.showcase" } dependencies { implementation libs.androidx.app.projected implementation project(":showcase:common") implementation libs.androidx.core.ktx }