Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for serveDocs (0.06 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/ServeDocs.java

    import java.util.Arrays;
    
    /**
     * Serves the given directory with a simple HTTP server.
     */
    @DisableCachingByDefault(because = "This task starts a HTTP server and should not be cached.")
    public abstract class ServeDocs extends DefaultTask {
        @InputFiles
        @PathSensitive(PathSensitivity.RELATIVE)
        protected abstract DirectoryProperty getDocsDirectory();
    
        @Input
        protected abstract Property<Integer> getPort();
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Apr 18 12:38:47 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

                f.exclude(PublicKotlinDslApi.INSTANCE.getExcludes());
            }));
        }
    
        private void addUtilityTasks(TaskContainer tasks, GradleDocumentationExtension extension) {
            tasks.register("serveDocs", ServeDocs.class, task -> {
                task.setDescription("Runs a local webserver to serve generated documentation.");
                task.setGroup("documentation");
    
                int webserverPort = 8000;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 17 20:04:00 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top