Installation
Konditional Core is a single dependency.
Replace VERSION with the latest published version.
Gradle (Kotlin DSL)
// build.gradle.kts
dependencies {
implementation("io.amichne:konditional-core:VERSION")
}
Test Fixtures (Optional)
Konditional provides test helpers for common testing scenarios. Add the testFixtures dependency to your test
configuration:
Gradle (Kotlin DSL)
// build.gradle.kts
dependencies {
testImplementation(testFixtures("io.amichne:konditional-core:VERSION"))
}
Available test helpers:
CommonTestFeatures— Pre-configured feature flags for common testing scenariosEnterpriseTestFeatures— Enterprise-tier feature flags for advanced testingTestAxis— Axis definitions for testing multi-dimensional targetingTestNamespace— Namespace implementations for testingTestStableId— StableId utilities for deterministic test bucketsTargetingIds— Pre-computed IDs for specific bucket targetingFeatureMutators— Utilities for modifying feature configurations in tests
See How-To: Test Your Feature Flags for usage examples.
That is enough to define features and evaluate them in code. If you need remote configuration, JSON serialization, or observability utilities, see the module docs: