feat(profile): pass query and reference target through runner arguments

This commit is contained in:
OneWay committed 2026-11-07 22:03:00 +08:00
1 parent 8f16160794
commit 53adde3a95
2 files changed
+32 -10

No files matched your search

+6
View File
@@ -12,6 +12,12 @@ android {
minSdk = project.property("minSdk").toString().toInt()
targetSdk = project.property("targetSdk").toString().toInt()
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
project.findProperty("profileQuery")?.let {
testInstrumentationRunnerArguments["query"] = it.toString()
}
project.findProperty("profileRefTarget")?.let {
testInstrumentationRunnerArguments["refTarget"] = it.toString()
}
}
compileOptions {