Class PluginVersionsPlugin

java.lang.Object
io.freefair.gradle.plugins.settings.PluginVersionsPlugin
All Implemented Interfaces:
Plugin<Settings>

public class PluginVersionsPlugin extends Object implements Plugin<Settings>
Settings plugin that automatically registers all freefair Gradle plugins with their versions.

This plugin reads plugin IDs from META-INF/freefair/plugin-ids and registers them in the settings plugin management block, setting each plugin's version to match this plugin's package version. This allows using freefair plugins without explicitly specifying version numbers in the plugins block.

Apply this plugin in settings.gradle:

 plugins {
     id 'io.freefair.plugin-versions' version 'x.y.z'
 }
 
  • Constructor Details

    • PluginVersionsPlugin

      public PluginVersionsPlugin()
  • Method Details