Publish current app and server

This commit is contained in:
ponzischeme89
2026-08-02 22:10:19 +12:00
parent a265636139
commit 1ed180c739
203 changed files with 23933 additions and 2788 deletions
+18 -6
View File
@@ -1,6 +1,7 @@
plugins {
id("com.android.test")
id("org.jetbrains.kotlin.android")
id("androidx.baselineprofile")
}
android {
@@ -8,12 +9,16 @@ android {
compileSdk = 35
defaultConfig {
minSdk = 23
// Baseline profile generation needs API 28+. The app itself still ships to 23 —
// this floor applies only to the machine generating the profile, not to the TVs
// that consume it.
minSdk = 28
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments["androidx.benchmark.enabledRules"] = "Macrobenchmark"
// The target is the current debug build for Phase 1 only. Results are labelled
// debug-influenced; a release benchmark variant will be added before Phase 2.
testInstrumentationRunnerArguments["androidx.benchmark.suppressErrors"] = "DEBUGGABLE"
// No DEBUGGABLE suppression any more: the baselineprofile plugin adds
// nonMinifiedRelease / benchmarkRelease variants to :app and mirrors them here,
// so these are real release numbers rather than the debug-influenced ones the
// Phase 1 setup produced.
testInstrumentationRunnerArguments["androidx.benchmark.enabledRules"] = "Macrobenchmark,BaselineProfile"
}
targetProjectPath = ":app"
experimentalProperties["android.experimental.self-instrumenting"] = true
@@ -31,6 +36,12 @@ android {
}
}
baselineProfile {
// A television is the only device that produces a representative profile for this
// app, so generation always runs against whatever is connected over adb.
useConnectedDevices = true
}
kotlin {
compilerOptions {
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17)
@@ -38,7 +49,8 @@ kotlin {
}
dependencies {
implementation("androidx.benchmark:benchmark-macro-junit4:1.2.4")
implementation("androidx.benchmark:benchmark-macro-junit4:1.3.4")
implementation("androidx.test.ext:junit:1.2.1")
implementation("androidx.test:runner:1.6.2")
implementation("androidx.test.uiautomator:uiautomator:2.3.0")
}