java.lang.Object
com.github.tmslpm.gradle.include.properties.Main
All Implemented Interfaces:
org.gradle.api.Plugin<Object>

public class Main extends Object implements org.gradle.api.Plugin<Object>
The main Gradle plugin for including and managing properties in a Gradle project. This plugin loads properties files, merges them with the project's properties, and checks if all the expected keys are present.

It also provides the option to configure resources to expand according to the project's properties.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.gradle.api.logging.Logger
    The logger used for logging information and errors.
    static final String
    The unique identifier for the plugin.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(@NotNull Object target)
    Applies the plugin to the target object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • PLUGIN_IDENTIFIER

      public static final String PLUGIN_IDENTIFIER
      The unique identifier for the plugin.
      See Also:
    • LOGGER

      public static final org.gradle.api.logging.Logger LOGGER
      The logger used for logging information and errors.
  • Constructor Details

    • Main

      public Main()
  • Method Details

    • apply

      public void apply(@NotNull @NotNull Object target)
      Applies the plugin to the target object. Checks if the target object is a Gradle project.
      Specified by:
      apply in interface org.gradle.api.Plugin<Object>
      Parameters:
      target - The object to which the plugin is applied.