Google is committed to advancing racial equity for Black communities. See how.


Define your UI programmatically with composable functions that describe its shape and data dependencies.

Compose is combination of 7 Maven Group Ids within androidx. Each Group contains a targeted subset of functionality, each with it's own set of release notes.

This table explains the groups and links to each set of release notes.

compose.animationBuild animations in their Jetpack Compose applications to enrich the user experience.
compose.compilerTransform @Composable functions and enable optimizations with a Kotlin compiler plugin.
compose.foundationWrite Jetpack Compose applications with ready to use building blocks and extend foundation to build your own design system pieces.
compose.materialBuild Jetpack Compose UIs with ready to use Material Design Components. This is the higher level entry point of Compose, designed to provide components that match those described at
compose.runtimeFundamental building blocks of Compose's programming model and state management, and core runtime for the Compose Compiler Plugin to target.
compose.uiFundamental components of compose UI needed to interact with the device, including layout, drawing, and input.
uiWorks with the Jetpack Compose library.


This table lists the current versions of each group.

Maven Group ID Latest Update Current Stable Release Next Release Candidate Beta Release Alpha Release
compose.animation December 2, 2020 - - - 1.0.0-alpha08
compose.compiler December 2, 2020 - - - 1.0.0-alpha08 December 2, 2020 - - - 1.0.0-alpha08
compose.material December 2, 2020 - - - 1.0.0-alpha08
compose.runtime December 2, 2020 - - - 1.0.0-alpha08
compose.ui December 2, 2020 - - - 1.0.0-alpha08
ui December 2, 2020 - - - 1.0.0-alpha08

Declaring dependencies

To add a dependency on Compose, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.

Add the dependencies for the artifacts you need in the build.gradle file for your app or module:

android {
    buildFeatures {
        compose true

    composeOptions {
        kotlinCompilerVersion "1.4.20"
        kotlinCompilerExtensionVersion "1.0.0-alpha08"

tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
    kotlinOptions {
        jvmTarget = "1.8"
        freeCompilerArgs += ["-Xallow-jvm-ir-dependencies", "-Xskip-prerelease-check"]

For more information about dependencies, see Add build dependencies.


Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.

Create a new issue

See the Issue Tracker documentation for more information.