GithubHelp home page GithubHelp logo

gradle-versions's Introduction

Gradle Versions

A plugin for helping detect new versions of dependencies and build plugins and for upgrading those dependencies and plugins. The update tasks are compatible with nebula.dependency-recommender and com.palantir.consistent-versions versions.props files.

Usage

Apply this plugin using the standard Gradle plugin block:

plugins {
   // ...
   id "com.markelliot.versions" version "0.1.11"
}

Run one of the available tasks:

  • checkNewVersions: prints dependencies and plugins with available updates by project, generates a report.yml file in ${buildDir}/com.markelliot.versions/ with the same details.
  • updateVersionsProps: (root project only) merges all report.ymls and updates root project versions.props with the merged recommendations. If two projects produce conflicting version recommendations, no update is applied for that dependency.
  • updatePlugins: (root project only) merges all report.ymls and updates all buildscripts plugins blocks that declare a specific plugin version to use the recommended update.
  • updateGradleWrapper: (root project only) finds a gradle-report.yml and if one exists updates the Gradle wrapper to point at the latest version's new distributionUrl.

Caveats

This plugin restricts updates such that:

  • Recommended versions do not contain alpha or beta in the version string.
  • Recommended versions may have empty status metadata or the status must be release

License

This repository is subject to the Apache 2.0 License.

gradle-versions's People

Contributors

markelliot avatar ferozco avatar mark-thm avatar robert3005 avatar github-actions[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.