Class EngineProjectExtension

    • Constructor Detail

      • EngineProjectExtension

        EngineProjectExtension(Project project)
    • Method Detail

      • getExposedPackagesToParser

         final List<String> getExposedPackagesToParser()

        The packages to scan for classes annotated with @Endpoint and related model classes. For a single module application, there is no need for configuring this necessarily, as the classes from the current project is automatically scanned (unless the endpoints are located in a dependency). On the contrary, in a multi-module project if the endpoint classes are located in the other modules, it is necessary to set the list packages in the build.gradle file.

      • setExposedPackagesToParser

         final Unit setExposedPackagesToParser(List<String> exposedPackagesToParser)

        The packages to scan for classes annotated with @Endpoint and related model classes. For a single module application, there is no need for configuring this necessarily, as the classes from the current project is automatically scanned (unless the endpoints are located in a dependency). On the contrary, in a multi-module project if the endpoint classes are located in the other modules, it is necessary to set the list packages in the build.gradle file.