Package com.dua3.cabe.gradle
Klasse CabeExtension
java.lang.Object
com.dua3.cabe.gradle.CabeExtension
CabeExtension represents the extension for the Cabe plugin.
It provides access to the input directory, output directory, and classpath.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCabeExtension(org.gradle.api.Project project) Construct a new instance of the extension. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.gradle.api.provider.Provider<org.gradle.api.file.FileCollection> Retrieves the classpath for the Cabe plugin.org.gradle.api.provider.Property<com.dua3.cabe.processor.Config> Retrieves the configuration property for the Cabe plugin.org.gradle.api.file.DirectoryPropertyReturns the input directory for the Cabe plugin.org.gradle.api.file.DirectoryPropertyReturns the output directory for the Cabe plugin.voidsetConfig(com.dua3.cabe.processor.Config config) Sets the configuration property for the Cabe plugin.
-
Konstruktordetails
-
CabeExtension
@Inject public CabeExtension(org.gradle.api.Project project) Construct a new instance of the extension.- Parameter:
project- the project to configure
-
-
Methodendetails
-
getInputDirectory
public org.gradle.api.file.DirectoryProperty getInputDirectory()Returns the input directory for the Cabe plugin.- Gibt zurück:
- the input directory as a DirectoryProperty object
-
getOutputDirectory
public org.gradle.api.file.DirectoryProperty getOutputDirectory()Returns the output directory for the Cabe plugin.- Gibt zurück:
- the output directory as a DirectoryProperty object
-
getClassPath
public org.gradle.api.provider.Provider<org.gradle.api.file.FileCollection> getClassPath()Retrieves the classpath for the Cabe plugin.- Gibt zurück:
- the classpath as a Provider object of type FileCollection
-
getConfig
public org.gradle.api.provider.Property<com.dua3.cabe.processor.Config> getConfig()Retrieves the configuration property for the Cabe plugin.- Gibt zurück:
- the configuration property as a Property object of type Config
-
setConfig
public void setConfig(com.dua3.cabe.processor.Config config) Sets the configuration property for the Cabe plugin.- Parameter:
config- the configuration to set
-