Skip to content

Setup Dependencies

Jeziel Lago edited this page Jun 23, 2021 · 5 revisions

Setup

FlowNav is a mobile library for Android that helps and provider a better way to make multi-modules navigation.

FlowNav is an annotation processor and tool to make navigation simple.

Gradle

Enable Kotlin Kapt

apply plugin: 'kotlin-kapt'

Dependencies

Processor

dependencies {

    kapt "dev.jeziellago:flownav-processor:$flownav_version"
}

Annotation

dependencies {

    implementation "dev.jeziellago:flownav-annotation:$flownav_version"
}

Router

dependencies {

    api "dev.jeziellago:flownav-router:$flownav_version"
}

Router dependency is imported only on the navigation module.

All other modules will import the Processor and Annotation dependencies