Search Gradle plugins

org.gradle.wrapper-upgrade

Owner: Gradle

A Gradle plugin that detects and updates Gradle and Maven wrappers to the latest Gradle and Maven version.

https://github.com/gradle/wrapper-upgrade-gradle-plugin/

Sources: https://github.com/gradle/wrapper-upgrade-gradle-plugin.git

Version 0.12 (latest)

Created 03 December 2024.

- [NEW] Add options to specify labels, reviewers and assignees to be associated with the created pull request (#215) - [NEW] Add link to release notes into commit description (#242) - [NEW] Always sign off wrapper updates in the commit message (#230) - [NEW] Do not create the PR if a closed one for the same version already exists (#252) - [NEW] Close existing open PR targeting older versions (#211) - [FIX] PR text unclear when the Maven Wrapper updates (#224)

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.gradle.wrapper-upgrade") version "0.12"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("org.gradle.wrapper-upgrade:org.gradle.wrapper-upgrade.gradle.plugin:0.12")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("org.gradle.wrapper-upgrade")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("org.gradle.wrapper-upgrade:org.gradle.wrapper-upgrade.gradle.plugin:0.12")
      }
    }
    
    apply(plugin = "org.gradle.wrapper-upgrade")
  • Applying plugins to all subprojects .