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.

Using the plugins DSL:

plugins {
  id("com.github.andygoossens.modernizer") 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.modernizer")

Using the plugins DSL:

plugins {
  id "com.github.andygoossens.modernizer" 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.modernizer"

Learn how to apply plugins to subprojects