- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getJavaLauncher (0.11 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/ServeDocs.java
protected abstract DirectoryProperty getDocsDirectory(); @Input protected abstract Property<Integer> getPort(); @Nested protected abstract Property<JavaLauncher> getJavaLauncher(); @TaskAction public void startApplication() { System.out.println("serving docs at http://localhost:" + getPort().get()); DeploymentRegistry registry = getDeploymentRegistry();
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Apr 18 12:38:47 UTC 2024 - 2.9K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java
task.setDescription("Runs a local webserver to serve generated documentation."); task.setGroup("documentation"); int webserverPort = 8000; task.getJavaLauncher().set( task.getProject().getExtensions().getByType(JavaToolchainService.class) .launcherFor(spec -> spec.getLanguageVersion().set(JavaLanguageVersion.of(21))) );
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Apr 17 20:04:00 UTC 2024 - 7.4K bytes - Viewed (0)