Exercise-2-10-Unit-Tests/app/build.gradle.kts
2022-11-21 10:25:47 +03:00

60 lines
1.8 KiB
Plaintext

plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
}
android {
defaultConfig {
applicationId = "ru.myitschool.lab210"
versionCode = 1
versionName = "0.0.1" // X.Y.Z; X = Major, Y = minor, Z = Patch level
targetSdk = 33
minSdk = 28
compileSdk = 33
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
val debug by getting {
applicationIdSuffix = ".debug"
}
val release by getting {
isMinifyEnabled = true
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
signingConfig = signingConfigs.getByName("debug")
}
}
testOptions {
unitTests {
isIncludeAndroidResources = true
}
}
namespace = "ru.myitschool.lab210"
}
dependencies {
androidTestImplementation("androidx.test:monitor:1.6.0")
androidTestImplementation("io.github.kakaocup:kakao:3.0.6")
androidTestImplementation(libs.androidx.test.uiautomator)
androidTestImplementation(libs.androidx.test.ext)
androidTestImplementation(libs.androidx.test.runner)
androidTestImplementation(libs.androidx.test.rules)
androidTestImplementation(libs.androidx.test.espresso.core)
androidTestImplementation(libs.androidx.navigation.testing)
androidTestImplementation(kotlin("test"))
testImplementation(libs.androidx.test.ext)
implementation(libs.androidx.activity.compose)
implementation(libs.android.material)
implementation(libs.androidx.appcompat)
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.core.splashscreen)
implementation(libs.androidx.compose.runtime)
implementation(libs.androidx.profileinstaller)
}