Package net.regsirius06.engine.generator
net.regsirius06.engine.generator package contains classes and enums related to generating
configuration and project files for various build systems, such as Gradle (using Groovy and the Kotlin DSL).
This package introduces the CodeCollectorSystem class, which provides
methods for extracting the text needed to generate various project files,
such as build files, settings, main class, help files, and Gradle wrapper scripts. These files are used to set up projects by automatically
creating configurations, dependencies, and other resources for different build systems.
The CodeCollectorSystem class allows you to choose a build system (Gradle or
Gradle Kotlin DSL) and generate appropriate strings and files, taking into
account the specifics of each system.
Another key component of this package is the GenPluginProject class.
It is responsible for the actual generation of the plugin project, including creating project directories,
generating the necessary configuration files (such as build files and settings), and preparing the project for archiving.
This class relies on the data provided by CodeCollectorSystem to populate project files
with the appropriate content.
Additionally, CodeCollectorSystem provides utility methods for managing file paths
within the project structure, creating Java files, and handling auxiliary resources required for the generated plugin project.
-
ClassDescriptionAn enum that represents different build systems (e.g., Gradle, Gradle Kotlin DSL).A utility class for generating a plugin project template.