Data layer and baseline profile
This commit is contained in:
31
baselineprofile/build.gradle.kts
Normal file
31
baselineprofile/build.gradle.kts
Normal file
@@ -0,0 +1,31 @@
|
||||
plugins {
|
||||
alias(libs.plugins.android.test)
|
||||
alias(libs.plugins.androidx.baselineprofile)
|
||||
}
|
||||
|
||||
// Generates the app's baseline profile on a connected device (the test TV, logged in):
|
||||
// ./gradlew :app:generateReleaseBaselineProfile
|
||||
android {
|
||||
namespace = "ru.stenfredd.movies.baselineprofile"
|
||||
compileSdk = 37
|
||||
defaultConfig {
|
||||
minSdk = 28
|
||||
targetSdk = 36
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
targetProjectPath = ":app"
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
}
|
||||
}
|
||||
|
||||
baselineProfile {
|
||||
useConnectedDevices = true
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(libs.androidx.test.junit)
|
||||
implementation(libs.androidx.uiautomator)
|
||||
implementation(libs.androidx.benchmark.macro.junit4)
|
||||
}
|
||||
Reference in New Issue
Block a user