https://kotlinlang.org logo
#decompose
Title
# decompose
v

Vishnu Shrikar

11/08/2023, 1:34 AM
How do i use decompose router, no documentation is telling me what
Copy code
implementation(what.the.hell.is.this.string.for.decompose.router)
is for decompose router
👀 1
a

Arkadii Ivanov

11/08/2023, 9:50 AM
What is decompose router? Are you referring to Decompose-Router library?
v

Vishnu Shrikar

11/08/2023, 3:22 PM
yes, the one by xxfast though due to this I have switched to voyager for the moment
a

Arkadii Ivanov

11/08/2023, 3:41 PM
That's a separate library. I believe it has its own readme with some setup instructions: https://github.com/xxfast/Decompose-Router#adding-to-your-project
You should expand those collapsing sections: "With version catalog" or "Without version catalog".
v

Vishnu Shrikar

11/08/2023, 3:42 PM
yes that is the one i was using
a

Arkadii Ivanov

11/08/2023, 3:43 PM
So the readme should answer your question:
How do i use decompose router, no documentation is telling me what
Copy code
implementation(what.the.hell.is.this.string.for.decompose.router)
is for decompose router
image.png
v

Vishnu Shrikar

11/08/2023, 3:44 PM
AH I did not see that, thanks, though this forces me to import the whole Decompose lib as well. I will have to consider that...
👍 1
x

xxfast

11/12/2023, 10:01 AM
hmm 🤔 Maybe i should include the decompose dependencies as api dependencies so that users dont need to manually bring these in
a

Arkadii Ivanov

11/12/2023, 10:40 AM
Sounds like a good idea, unless you want to provide your own abstractions for everything. 😀 Decompose exposes Essenty as API.
5 Views