Search Gradle plugins

Version 1.10.0 (latest)

1.10.0

Created 04 November 2024.

Detects use of legacy APIs which modern Java versions supersede (legacy plugin id, please use com.github.andygoossens.modernizer instead)

Using the plugins DSL:

plugins {
  id("com.github.andygoossens.gradle-modernizer-plugin") version "1.10.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.github.andygoossens:gradle-modernizer-plugin:1.10.0")
  }
}

apply(plugin = "com.github.andygoossens.gradle-modernizer-plugin")

Using the plugins DSL:

plugins {
  id "com.github.andygoossens.gradle-modernizer-plugin" version "1.10.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.github.andygoossens:gradle-modernizer-plugin:1.10.0"
  }
}

apply plugin: "com.github.andygoossens.gradle-modernizer-plugin"

Learn how to apply plugins to subprojects