public class WriteCartridgeClasspath
WriteCartridgeClasspath Gradle task 'writeCartridgeClasspath'
This task writes all classpath entries of runtime classpath to an file. This file is used by some tools and tests.
| Modifier and Type | Class and Description |
|---|---|
static class |
WriteCartridgeClasspath.Companion |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CARTRIDGE_CLASSPATH_DIR |
static java.lang.String |
CARTRIDGE_CLASSPATH_FILE |
static WriteCartridgeClasspath.Companion |
Companion |
static java.lang.String |
DEFAULT_NAME |
| Constructor and Description |
|---|
WriteCartridgeClasspath()
WriteCartridgeClasspath Gradle task 'writeCartridgeClasspath'
|
| Modifier and Type | Method and Description |
|---|---|
org.gradle.api.file.FileCollection |
getCartridgeRuntimeFiles() |
org.gradle.api.file.FileCollection |
getClasspathFiles() |
org.gradle.api.file.FileCollection |
getJarFiles() |
java.lang.String |
getJarTaskName() |
java.io.File |
getOutputFile()
The output file contains the classpath entries of the cartridge.
|
boolean |
getUseClassesFolder() |
void |
provideJarTaskName(org.gradle.api.provider.Provider<java.lang.String> jarTaskName)
Set provider for jar task name property.
|
void |
provideUseClassesFolder(org.gradle.api.provider.Provider<java.lang.Boolean> useClassesFolder)
Set provider for using classes folder instead of jar files.
|
void |
runFileCreation()
Task method for the creation of a descriptor file.
|
void |
setJarTaskName(java.lang.String p) |
void |
setOutputFile(java.io.File value)
The output file contains the classpath entries of the cartridge.
|
void |
setUseClassesFolder(boolean p) |
@NotNull public static java.lang.String DEFAULT_NAME
@NotNull public static java.lang.String CARTRIDGE_CLASSPATH_DIR
@NotNull public static java.lang.String CARTRIDGE_CLASSPATH_FILE
public static WriteCartridgeClasspath.Companion Companion
public WriteCartridgeClasspath()
WriteCartridgeClasspath Gradle task 'writeCartridgeClasspath'
This task writes all classpath entries of runtime classpath to an file. This file is used by some tools and tests.
public void provideJarTaskName(@NotNull
org.gradle.api.provider.Provider<java.lang.String> jarTaskName)
Set provider for jar task name property.
jarTaskName - set provider for name of jar task.@Input @NotNull public java.lang.String getJarTaskName()
public void setJarTaskName(@NotNull
java.lang.String p)
public void provideUseClassesFolder(@NotNull
org.gradle.api.provider.Provider<java.lang.Boolean> useClassesFolder)
Set provider for using classes folder instead of jar files.
useClassesFolder - set provider for using classes folder instead of jar files.@Input public boolean getUseClassesFolder()
public void setUseClassesFolder(boolean p)
@InputFiles @NotNull public org.gradle.api.file.FileCollection getJarFiles()
@OutputFile @NotNull public java.io.File getOutputFile()
The output file contains the classpath entries of the cartridge.
public void setOutputFile(@NotNull
java.io.File value)
The output file contains the classpath entries of the cartridge.
@Classpath @NotNull public org.gradle.api.file.FileCollection getCartridgeRuntimeFiles()
@Classpath @NotNull public org.gradle.api.file.FileCollection getClasspathFiles()
public void runFileCreation()
Task method for the creation of a descriptor file.