/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' android { compileSdkVersion rootProject.ext.compileSdkVersion defaultConfig { applicationId "com.microsoft.device.display.samples.listdetail" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion testInstrumentationRunner rootProject.ext.config.testInstrumentationRunner } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = '1.8' } buildFeatures { compose true } composeOptions { kotlinCompilerExtensionVersion composeCompilerVersion } packagingOptions { jniLibs { excludes += ['META-INF/licenses/**'] } resources { excludes += ['META-INF/licenses/**', 'META-INF/AL2.0', 'META-INF/LGPL2.1'] } } namespace 'com.microsoft.device.display.samples.listdetail' } dependencies { implementation kotlinDependencies.kotlinStdlib implementation androidxDependencies.ktxCore implementation androidxDependencies.appCompat implementation composeDependencies.composeUI implementation composeDependencies.composeRuntime implementation composeDependencies.composeMaterial implementation composeDependencies.composeUITooling implementation composeDependencies.activityCompose implementation googleDependencies.material implementation microsoftDependencies.twoPaneLayout implementation microsoftDependencies.windowState androidTestImplementation testDependencies.androidxTestCore androidTestImplementation testDependencies.androidxTestRules androidTestImplementation testDependencies.androidxTestRunner androidTestImplementation testDependencies.espressoCore androidTestImplementation testDependencies.composeUITest androidTestImplementation testDependencies.composeJunit androidTestImplementation testDependencies.uiAutomator androidTestImplementation microsoftDependencies.composeTesting debugImplementation testDependencies.composeUITestManifest }