@groovy.transform.CompileStatic @groovy.util.logging.Slf4j class JavaExecUtils extends Object
Utilities for dealing with Asciidoctor in an external JavaExec process.
Modifiers | Name | Description |
---|---|---|
class |
JavaExecUtils.1 |
|
static class |
JavaExecUtils.InternalGradleLibraryLocationException |
Thrown when an internal Guava JAR cannot be located. |
Modifiers | Name | Description |
---|---|---|
static String |
JRUBY_COMPLETE_DEPENDENCY |
The jruby-complete dependency without a version. |
Constructor and description |
---|
JavaExecUtils
() |
Type Params | Return Type | Name and description |
---|---|---|
|
static File |
getExecConfigurationDataFile(Task task) The file to which execution configuration data can be serialised to. |
|
static File |
getInternalGradleLibraryLocation(org.ysb33r.grolifant.api.core.ProjectOperations po, Pattern libraryPattern) |
|
static FileCollection |
getJavaExecClasspath(Project project, FileCollection asciidoctorClasspath) Get the classpath that needs to be passed to the external Java process. |
|
static FileCollection |
getJavaExecClasspath(org.ysb33r.grolifant.api.core.ProjectOperations po, FileCollection asciidoctorClasspath) Get the classpath that needs to be passed to the external Java process. |
|
static File |
getLocalGroovy() Returns the location of the local Groovy Jar that is used by Gradle. |
|
static File |
writeExecConfigurationData(Task task, Iterable<ExecutorConfiguration> executorConfigurations) Serializes execution configuration data. |
|
static void |
writeExecConfigurationData(File execConfigurationData, Iterable<ExecutorConfiguration> executorConfigurations) Serializes execution configuration data. |
The jruby-complete
dependency without a version.
The file to which execution configuration data can be serialised to.
task
- Task for which execution data will be serialised.Get the classpath that needs to be passed to the external Java process. @deprecated
project
- Current Gradle projectasciidoctorClasspath
- External asciidoctor dependenciesGet the classpath that needs to be passed to the external Java process.
project
- Current Gradle projectasciidoctorClasspath
- External asciidoctor dependenciesReturns the location of the local Groovy Jar that is used by Gradle.
Serializes execution configuration data. @deprecated
task
- Task for which execution data will be serialised.executorConfigurations
- Executor configuration to be serialisedSerializes execution configuration data.
execConfigurationData
- File to be use for serialization data.executorConfigurations
- Executor configuration to be serialisedCopyright © 2013-2024 the original author or authors. All rights reserved.