surface-duo-compose-samples/TwoPage/build.gradle

69 строки
2.2 KiB
Groovy

/*
*
* * 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.twopage"
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.twopage'
}
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 microsoftDependencies.windowState
implementation googleDependencies.material
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
}