Class PbjCompilerPlugin

java.lang.Object
com.hedera.pbj.compiler.PbjCompilerPlugin
All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>

public abstract class PbjCompilerPlugin extends Object implements org.gradle.api.Plugin<org.gradle.api.Project>
Gradle Plugin for generating java records model objects, parsers, writers and unit tests from .proto files.
  • Constructor Details

    • PbjCompilerPlugin

      public PbjCompilerPlugin()
  • Method Details

    • getObjectFactory

      @Inject protected abstract org.gradle.api.model.ObjectFactory getObjectFactory()
      object factory for building objects needed
    • apply

      public void apply(org.gradle.api.Project project)
      Apply plugin to project, called during configuration phase
      Specified by:
      apply in interface org.gradle.api.Plugin<org.gradle.api.Project>
      Parameters:
      project - The project to apply to