feat(android): feature flag "read posts" feature

This commit is contained in:
Harsh Shandilya 2023-08-16 11:27:57 +05:30
parent bc3a1266f4
commit fcd85dc8e1
No known key found for this signature in database
2 changed files with 17 additions and 2 deletions

View file

@ -6,6 +6,7 @@
*/
@file:Suppress("UnstableApiUsage")
import com.android.build.api.variant.BuildConfigField
import dev.msfjarvis.claw.gradle.addTestDependencies
plugins {
@ -34,6 +35,15 @@ android {
packagingOptions.resources.pickFirsts += "**/*.bin"
}
androidComponents {
onVariants { variant ->
variant.buildConfigFields.put(
"ENABLE_READ_COMMENTS",
BuildConfigField("boolean", "false", "Not yet buddy boy")
)
}
}
baselineProfile {
dexLayoutOptimization = true
mergeIntoMain = true