SchlaubiBus
Explore posts from servers[Kotlin/Native] Slow connection issues
The biggest problem with monorepos like that is:
1) slower build time
2) slower import time
3) Slower CI runs, since it's very complicated to only trigger the CI for the one part that changed
4) If we do a snapshot, we always need to update kordx.emoji as well, otherwise it won't compile, even if we just want to do a prototype of the actual feature first
5) Either we write a convoluted detection logic mentioned in 3) or kordx (and probabbly cache if we go that route) have identical versions to kord, which would end up in "empty" releases for thoes projects, which is exactly the problem with androidx's jetpack
55 replies
How to add a file to a message as an attachment?
I assume with Groovy you mean tha Gradle DSL, since Kord itself has nothing to do with groovy, but that doesn't actually matter
You can add an attachment using MessageBuilder.addFile
There is an extension you can use, which takes a Path
If you do not have a file you can use a ChannelProvider)
2 replies