52 lines
1.2 KiB
Plaintext
52 lines
1.2 KiB
Plaintext
plugins {
|
|
id("com.android.test")
|
|
id("org.jetbrains.kotlin.android")
|
|
id("androidx.baselineprofile")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.lagradost.cloudstream3.baselineprofile"
|
|
compileSdk = 34
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdk = 28
|
|
targetSdk = 34
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
targetProjectPath = ":app"
|
|
|
|
flavorDimensions += listOf("state")
|
|
productFlavors {
|
|
create("stable") { dimension = "state" }
|
|
create("prerelease") { dimension = "state" }
|
|
}
|
|
|
|
}
|
|
|
|
// This is the configuration block for the Baseline Profile plugin.
|
|
// You can specify to run the generators on a managed devices or connected devices.
|
|
baselineProfile {
|
|
useConnectedDevices = true
|
|
}
|
|
|
|
repositories {
|
|
maven("https://jitpack.io")
|
|
}
|
|
|
|
dependencies {
|
|
implementation("androidx.test.ext:junit:1.1.5")
|
|
implementation("androidx.test.espresso:espresso-core:3.5.1")
|
|
implementation("androidx.test.uiautomator:uiautomator:2.2.0")
|
|
implementation("androidx.benchmark:benchmark-macro-junit4:1.2.2")
|
|
} |