FeaturesHandler

abstract class FeaturesHandler @Inject constructor(objects: ObjectFactory, globalFoundryProperties: FoundryProperties, foundryProperties: FoundryProperties, project: Project, versionCatalog: VersionCatalog)(source)

Constructors

Link copied to clipboard
@Inject
constructor(objects: ObjectFactory, globalFoundryProperties: FoundryProperties, foundryProperties: FoundryProperties, project: Project, versionCatalog: VersionCatalog)

Functions

Link copied to clipboard

Enables AutoService on this project.

Link copied to clipboard
fun circuit(codegen: Boolean = true, runtime: Boolean = true, commonBundle: Boolean = true, foundation: Boolean = false, action: Action<CircuitHandler> = Action {})

Configures Circuit on this project.

Link copied to clipboard
fun compose(multiplatform: Boolean = false, action: Action<ComposeHandler> = Action {})

Enables Compose for this project and applies any version catalog bundle dependencies defined by FoundryProperties.defaultComposeAndroidBundleAlias.

Link copied to clipboard
fun composeRuntimeOnly(multiplatform: Boolean = false, action: Action<ComposeHandler> = Action {})

Enables Compose runtime for this project and applies any version catalog bundle dependencies defined by FoundryProperties.defaultComposeAndroidBundleAlias. This explicitly does not enable the compose compiler.

Link copied to clipboard
fun dagger(action: Action<DaggerHandler>? = null)
fun dagger(enableComponents: Boolean = false, projectHasJavaInjections: Boolean = false, action: Action<DaggerHandler>? = null)

Enables dagger for this project.

Link copied to clipboard

Adds dagger's runtime as dependencies to this but runs no code generation.

Link copied to clipboard

Enables test fixtures on this project.

Link copied to clipboard
fun moshi(codegen: Boolean, adapters: Boolean = false, kotlinReflect: Boolean = false, action: Action<MoshiHandler> = Action {})

Enables Moshi for this project.

Link copied to clipboard
fun redacted()

Enables redacted-compiler-plugin on this project.