Files
bot/apps/android/benchmark/build.gradle.kts
2026-03-01 12:56:35 -08:00

51 lines
1.3 KiB
Kotlin

plugins {
id("com.android.test")
id("org.jlleitschuh.gradle.ktlint")
}
android {
<<<<<<< HEAD
namespace = "ai.hanzo.bot.android.benchmark"
compileSdk = 36
=======
namespace = "ai.openclaw.android.benchmark"
compileSdk = 36
>>>>>>> 9c2f7e2a9 (style(android): format gradle kotlin scripts)
defaultConfig {
minSdk = 31
targetSdk = 36
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments["androidx.benchmark.suppressErrors"] = "DEBUGGABLE,EMULATOR"
}
targetProjectPath = ":app"
experimentalProperties["android.experimental.self-instrumenting"] = true
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
}
kotlin {
compilerOptions {
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17)
allWarningsAsErrors.set(true)
}
}
ktlint {
android.set(true)
ignoreFailures.set(false)
filter {
exclude("**/build/**")
}
}
dependencies {
implementation("androidx.benchmark:benchmark-macro-junit4:1.4.1")
implementation("androidx.test.ext:junit:1.2.1")
implementation("androidx.test.uiautomator:uiautomator:2.4.0-alpha06")
}