Owner:
Simon Harrer
Detects use of legacy APIs which modern Java versions supersede
https://github.com/simonharrer/gradle-modernizer-plugin
Sources: https://github.com/simonharrer/gradle-modernizer-plugin
Version 1.8.0-1
Created 28 July 2019.
Detects use of legacy APIs which modern Java versions supersede
Add this plugin to your build using the plugins DSL:
plugins {
id("com.simonharrer.modernizer") version "1.8.0-1"
}
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("com.simonharrer.modernizer:com.simonharrer.modernizer.gradle.plugin:1.8.0-1") }It can then be applied in the precompiled script plugin:plugins { id("com.simonharrer.modernizer") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("com.simonharrer.modernizer:com.simonharrer.modernizer.gradle.plugin:1.8.0-1") } } apply(plugin = "com.simonharrer.modernizer") - Applying plugins to all subprojects .