Rollczi / LiteCommands

☄️ LiteCommands - Command framework for Velocity, Bukkit, Paper, BungeeCord, Minestom, Sponge, Fabric, JDA and future implementations.
https://docs.rollczi.dev/
Apache License 2.0
130 stars 18 forks source link

Use a Versioning Catalog (like as `Versions` object) #431

Closed KermanIsPretty closed 2 weeks ago

KermanIsPretty commented 2 weeks ago

Lite commands should use a libs.versions.toml file to share dependencies, you can find more information under https://docs.gradle.org/current/userguide/platforms.html

This would allow updates to dependencies to not span multiple files but just one and allows you to combine and have one central location for versioning.

vLuckyyy commented 2 weeks ago

We have discussed this a few times with @Rollczi, however, it is not convenient at all..., a better solution is to just make a Versions object in buildSrc and put only versions in it, in fact, every time I have to use libs.versions.toml, I get lost in it more than if I use the normal version definition

Rollczi commented 2 weeks ago

Yup, an example of this solution: https://github.com/EternalCodeTeam/EternalCore/blob/master/buildSrc/src/main/kotlin/Versions.kt

Rollczi commented 2 weeks ago

Currently, LiteCommands doesn't have Versions object, so I think we can reopen this issue and add it in the future.

vLuckyyy commented 2 weeks ago

Currently, LiteCommands doesn't have Versions object, so I think we can reopen this issue and add it in the future.

The future is now