Skip to content

Updated dependencies for typical java/kotlin/android projects (with IDE support).

License

Notifications You must be signed in to change notification settings

mareklangiewicz/DepsKt

Repository files navigation

DepsKt

This repo allows to easily share current versions of well known libraries for Kotlin/Java/Android between projects. It's a gradle "convention plugin": https://docs.gradle.org/current/samples/sample_convention_plugins.html

Usage:

  • clone this repo outside your project
  • include it in your settings.gradle.kts
    • includeBuild("../DepsKt")
  • add the plugin to your build files build.gradle.kts
    • plugins { id("pl.mareklangiewicz.deps") }
  • use Vers and Deps objects in your build files to get current versions of common libraries
    • it not only contains versions but all groups and names too, so it can be easily used in other build files
    • add your project dependencies with syntax like this: testImplementation(deps.junit5)

Notes

  • It's a statically checked Kotlin code, so we should have full IDE support
  • If you don't want to use it all, you can still just bookmark one file
    • github:Deps.kt to quickly check current versions of popular libraries
  • UPDATE: There is now also another file with a few additional versions that are updated manually:

UPDATE

About

Updated dependencies for typical java/kotlin/android projects (with IDE support).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages