diff --git a/buildSrc/src/main/java/org/mozilla/fenix/gradle/tasks/ApkSizeTask.kt b/buildSrc/src/main/java/org/mozilla/fenix/gradle/tasks/ApkSizeTask.kt index 9711303f48..377d7a689a 100644 --- a/buildSrc/src/main/java/org/mozilla/fenix/gradle/tasks/ApkSizeTask.kt +++ b/buildSrc/src/main/java/org/mozilla/fenix/gradle/tasks/ApkSizeTask.kt @@ -102,7 +102,8 @@ open class ApkSizeTask : DefaultTask() { suite.put("name", "apk-size-$variantName") suite.put("value", getSummarySize(apkSize)) suite.put("lowerIsBetter", true) - suite.put("shouldAlert", false) + suite.put("alertChangeType", "absolute") + suite.put("alertThreshold", 100 * 1024) val subtests = JSONArray() apkSize.forEach { (apk, size) ->