Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Java/Threema/buildSrc/src/main/kotlin/config/     Datei vom 25.3.2026 mit Größe 588 B image not shown  

Quelle  BuildFeatureFlags.kt   Sprache: unbekannt

 
Spracherkennung für: .kt vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

package config

import utils.LocalProperties

/**
 * Can be used to check whether certain features are explicitly enabled or disabled locally, i.e., during development on the current machine,
 * by checking whether the feature flag is set in the 'local.properties' file.
 *
 * To explicitly enable or disable a feature, add *threema.features.<name-of-feature> = [true|false]* to the 'local.properties' file
 * in the project root directory.
 */
object BuildFeatureFlags {
    operator fun get(feature: String): Boolean? =
        LocalProperties.getBoolean("threema.features.$feature")
}

[Dauer der Verarbeitung: 0.14 Sekunden, vorverarbeitet 2026-04-27]