This plugin allows to specify versions of external libraries in a centralized place and use them across the project. It's specifically useful for Gradle multi-projects. This plugin also uses com.github.ben-manes.versions plugin to automatically update libraries once new releases are available. Run ./gradlew syncLibraries to create $rootDir/dependencies.json file with all currently known dependencies. Once dependencies.json file is in place by generating via syncLibraries task or just by manually creating it, all declared in dependencies.json libraries can be used in project files. It's not a secret that it's really hard to keep libraries up to date especially when there are dozens and sometimes hundreds of them. For that purpose, this plugin has update libraries task that will automatically check for available new versions of libraries.

Features

  • Update libraries automatically
  • Specifically useful for Gradle multi-projects
  • Automatically update libraries once new releases are available
  • Create $rootDir/dependencies.json file with all currently known dependencies
  • Use aliases
  • Override the default <group>:<name> key

Project Samples

Project Activity

See All Activity >

Categories

Libraries, Git

License

MIT License

Follow Gradle Libraries Plugin

Gradle Libraries Plugin Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Gradle Libraries Plugin!

Additional Project Details

Programming Language

Java

Related Categories

Java Libraries, Java Git Software

Registered

2022-08-24