Search Gradle plugins

Version 1.9.3

1.9.3

Created 16 July 2024.

Detects use of legacy APIs which modern Java versions supersede.

Using the plugins DSL:

plugins {
  id("com.github.andygoossens.modernizer") version "1.9.3"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "com.github.andygoossens.modernizer" version "1.9.3"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects