Setup
Core modules
To start work you have to add core modules
To Project
module add support of JitPack
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
...
}
}
In App
module
implementation "com.github.AlexExiv.Router-Android:router:$version"
implementation "com.github.AlexExiv.Router-Android:annotations:$version"
kapt "com.github.AlexExiv.Router-Android:processor:$version"
To add support of diffirent platforms you have to add more libs
Platform modules
implementation "com.github.AlexExiv.Router-Android:fragment:$version" // add support of fragments
implementation "com.github.AlexExiv.Router-Android:compose:$version" // add support of compose
implementation "com.github.AlexExiv.Router-Android:fragment:$version"
implementation "com.github.AlexExiv.Router-Android:compose:$version"
implementation "com.github.AlexExiv.Router-Android:fragmentcompose:$version"
implementation "com.github.AlexExiv.Router-Android:compose:$version"
implementation "com.github.AlexExiv.Router-Android:android-hilt:$version"
Last updated
Was this helpful?