1/* 2 * Copyright (C) 2019 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17plugins { 18 id 'com.android.application' 19 id 'org.jetbrains.kotlin.android' 20} 21 22android { 23 namespace 'com.android.car.appgrid.test' 24 compileSdk gradle.ext.aaosTargetSDK 25 26 defaultConfig { 27 applicationId "com.android.car.appgrid.test" 28 minSdk gradle.ext.aaosLatestSDK 29 targetSdk gradle.ext.aaosLatestSDK 30 versionCode gradle.ext.getVersionCode() 31 versionName gradle.ext.getVersionName() 32 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 33 } 34 35 signingConfigs { 36 debug { 37 storeFile file(gradle.ext.debugCertPath) 38 storePassword 'carapps' 39 keyAlias 'carapps' 40 keyPassword 'carapps' 41 } 42 } 43 44 buildTypes { 45 debug { 46 testCoverageEnabled = true 47 signingConfig signingConfigs.debug 48 minifyEnabled false 49 shrinkResources false 50 } 51 } 52 53 compileOptions { 54 sourceCompatibility JavaVersion.VERSION_1_8 55 targetCompatibility JavaVersion.VERSION_1_8 56 } 57 58 kotlinOptions { 59 jvmTarget = '1.8' 60 } 61} 62 63dependencies { 64 implementation project(":libs:appgrid:lib") 65 implementation 'androidx.appcompat:appcompat:1.6.1' 66} 67