Class SmallryeOpenApiPlugin

  • All Implemented Interfaces:
    org.gradle.api.Plugin<org.gradle.api.Project>

    public class SmallryeOpenApiPlugin
    extends java.lang.Object
    implements org.gradle.api.Plugin<org.gradle.api.Project>
    Gradle schema generator plugin.

    Registers SmallryeOpenApiExtension as "smallryeOpenApi" and SmallryeOpenApiTask as "generateOpenApiSpec" to the Gradle project.

    Requires any of the Gradle Java plugins, that provide the JavaPluginExtension.

    Currently only supports the "main" source set and uses the compileClasspath configuration for dependencies.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CONFIG_NAME  
      static java.lang.String EXTENSION_NAME  
      static java.lang.String TASK_NAME  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void apply​(org.gradle.api.Project project)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SmallryeOpenApiPlugin

        public SmallryeOpenApiPlugin()
    • Method Detail

      • apply

        public void apply​(org.gradle.api.Project project)
        Specified by:
        apply in interface org.gradle.api.Plugin<org.gradle.api.Project>