# Setup

Add Maven Central to your repositories if needed

```groovy
repositories {
    mavenCentral()
}
```

Add the main library dependency to your module's `build.gradle.`&#x20;

```groovy
dependencies {
    // Bloc core library + Android Compose and Bloc integration +
    // Navigator library (fork of adrielcafe/voyager)
    implementation "io.github.beyondeye:kbloc-navigator:$version"
```

![](https://img.shields.io/github/v/release/beyondeye/compose_bloc?style=for-the-badge)

See the latest version above. For available  all versions look at the  [releases page](https://github.com/beyondeye/compose_bloc/releases)

the library is a multiplatform library that support Android , Desktop, and Web compose.&#x20;

There is also an equivalent for all original libraries from `adrielcafe/voyager`:

```groovy
dependencies {    
    // BottomSheetNavigator  (multiplatform library)
    //implementation "cafe.adriel.voyager:voyager-bottom-sheet-navigator:$currentVersion"
    implementation "io.gihub.beyondeye:kbloc-bottom-sheet-navigator:$currentVersion"
    
    // TabNavigator  (multiplatform library)
    //implementation "cafe.adriel.voyager:voyager-tab-navigator:$currentVersion"
    implementation "io.gihub.beyondeye:kbloc-tab-navigator:$currentVersion"
    
    // Transitions  (multiplatform library)
    //implementation "cafe.adriel.voyager:voyager-transitions:$currentVersion"
    implementation "io.gihub.beyondeye:kbloc-transitions:$currentVersion"
    
    // Android ViewModel integration (android library)
    //implementation "cafe.adriel.voyager:voyager-androidx:$currentVersion"
    implementation "io.gihub.beyondeye:kbloc-androidx:$currentVersion"
    
    // Koin integration (multiplatform library)
    //implementation "cafe.adriel.voyager:voyager-koin:$currentVersion"
    implementation "io.gihub.beyondeye:kbloc-koin:$currentVersion"
    
    // Kodein integration ( (multiplatform library)
    //implementation "cafe.adriel.voyager:voyager-kodein:$currentVersion"
    implementation "io.gihub.beyondeye:kbloc-kodein:$currentVersion"
    
    // Hilt integration (android library)
    //implementation "cafe.adriel.voyager:voyager-hilt:$currentVersion"
    implementation "io.gihub.beyondeye:kbloc-hilt:$currentVersion"
    
    // RxJava integration (JVM library)
    //implementation "cafe.adriel.voyager:voyager-rxjava:$currentVersion"
    implementation "io.gihub.beyondeye:kbloc-rxjava:$currentVersion"
    
    // LiveData integration (android library)
    //implementation "cafe.adriel.voyager:voyager-livedata:$currentVersion"
    implementation "io.gihub.beyondeye:kbloc-livedata:$currentVersion"
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://beyondeye.gitbook.io/compose-bloc/setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
