Make gradle dependencies to show up on github
Harsh Saglani
γ»1 min read
Nice T-shirt.
Hey BTW, is there any way to show the android dependencies written in the build.gradle file on github's network/dependencies of your project?
I have a plugin that export your Gradle dependencies to the
gradle.properties
file and allows you to find available updatesGradle dependencies with IDE integration and lookup for available updates
de.fayard.buildSrcVersions
The Gradle plugin
de.fayard.buildSrcVersions
goal is to make it as painless as possible to upgrade your project to the latest and greatest version of everything.It does that by extracting all your dependencies, searching for available dependencies updates and generating Kotlin code, Groovy code or Gradle properties.
Installation
Edit your root
build.gradle(.kts)
fileWe recommend to use the
plugins
block:Updating Gradle is usually a good idea. You get less bugs, more features and more build speed, and itβs as simple as this:
$ ./gradlew wrapper --gradle-version 5.6.2
If you have to, use instead the legacy
buildscript { β¦β }
syntaxLegacy buildscript syntax - click to expand
buildscript { repositories { maven { url "https://plugins.gradle.org/m2/" }
β¦It looks like this: