Stay organized with collections Save and categorize content based on your preferences.

LibraryBuildType

interface LibraryBuildType : BuildType, LibraryVariantDimension
com.android.build.api.dsl.LibraryBuildType

Build types define certain properties that Gradle uses when building and packaging your library, and are typically configured for different stages of your development lifecycle.

There are two build types defined by default, debug and release, and you can customize them and create additional build types.

The default debug build type enables debug options, while the release build type is not debuggable and can be configured to, for example shrink and obfuscate your library for distribution.

See configuring build types for more information.

Summary

Inherited functions

Properties

abstract Boolean

Whether this build type should be selected in Studio by default

Inherited properties

Properties

isDefault

abstract var isDefault: Boolean

Whether this build type should be selected in Studio by default