Feature flags for multi-module Kotlin Android projects
1.8.21
.4.7.0
.1.14.2
.8.1.1
.0.9.37
.1.6.4
.1.6.1
.2.6.1
.1.5.7
.1.3.0
.1.9.0
.SharedPreferencesFeatureStorage
no longer marked as experimental due to coroutines.1.6.10
.1.6.0
.4.0.1
.OptionFactory
.GenerationFailure
interface.dependency
function in Gradle.
laboratory {
featureFactory()
// Before, these were included implicitly.
dependency(project(":module-a"))
dependency(project(":module-b"))
}
2.4.0
.1.10.2
.4.0.0
.1.6.0
.2.1.2
.1.4.0
.1.4.0
.0.9.0
for adding feature flags.projectFilter
properties from Gradle plugin. Use explicit dependencies instead.DefaultOptionFactory
are now respected by Laboratory
- #220.OptionFactory
interface. It creates feature options based on a feature key and an option name.Feature
and other related classes covariant.FeatureStorage
functions are no longer parameterized over Feature
. They accept raw class type instead.ClassName
in constructor.SharedPreferencesFeatureStorage
with ExperimentalCoroutinesApi
annotation.1.5.31
.1.4.0
.1.6.0
.1.0.0
.4.2.2
.0.9.34
.1.3.6
.1.3.1
.2.1.1
.1.0.0
.1.5.2
.1.10.1
.FeatureStorage.Companion.sharedPreferences(Context)
function. Use overload that accepts SharedPreferences
instead.FeatureStorage.Companion.dataStore(() -> File)
function. Use overload that accepts DataStore
instead.FeatureStorage.Companion.dataStore(Context, String)
function. Use overload that accepts DataStore
instead.generate()
methods on generation models. Use prepare()
and operate on FileSpec
directly instead.@JvmDefault
and switch to JVM default modes.1.5.0
.1.5.0
.4.2.1
.1.8.0
.1.2.0
.0.9.32
.1.3.3
.1.0.0-beta01
.