Package com.google.devtools.ksp.gradle
Class KspExtension
-
- All Implemented Interfaces:
public abstract class KspExtension
-
-
Field Summary
Fields Modifier and Type Field Description private final ConfigurableFileCollectionexcludedSourcesprivate final Map<String, String>argumentsprivate BooleanblockOtherCompilerPluginsprivate BooleanallowSourcesFromOtherPluginsprivate BooleanallWarningsAsErrors
-
Constructor Summary
Constructors Constructor Description KspExtension()
-
Method Summary
Modifier and Type Method Description abstract ConfigurableFileCollectiongetExcludedSources()Map<String, String>getArguments()BooleangetBlockOtherCompilerPlugins()UnitsetBlockOtherCompilerPlugins(@Deprecated(message = "KSP will stop supporting other compiler plugins in KSP's Gradle tasks after 1.0.8.") Boolean blockOtherCompilerPlugins)BooleangetAllowSourcesFromOtherPlugins()UnitsetAllowSourcesFromOtherPlugins(Boolean allowSourcesFromOtherPlugins)BooleangetAllWarningsAsErrors()UnitsetAllWarningsAsErrors(Boolean allWarningsAsErrors)Unitarg(String k, String v)Unitarg(CommandLineArgumentProvider arg)UnitexcludeProcessor(String fullyQualifiedName)-
-
Method Detail
-
getExcludedSources
abstract ConfigurableFileCollection getExcludedSources()
-
getArguments
Map<String, String> getArguments()
-
getBlockOtherCompilerPlugins
Boolean getBlockOtherCompilerPlugins()
-
setBlockOtherCompilerPlugins
Unit setBlockOtherCompilerPlugins(@Deprecated(message = "KSP will stop supporting other compiler plugins in KSP's Gradle tasks after 1.0.8.") Boolean blockOtherCompilerPlugins)
-
getAllowSourcesFromOtherPlugins
Boolean getAllowSourcesFromOtherPlugins()
-
setAllowSourcesFromOtherPlugins
Unit setAllowSourcesFromOtherPlugins(Boolean allowSourcesFromOtherPlugins)
-
getAllWarningsAsErrors
Boolean getAllWarningsAsErrors()
-
setAllWarningsAsErrors
Unit setAllWarningsAsErrors(Boolean allWarningsAsErrors)
-
excludeProcessor
Unit excludeProcessor(String fullyQualifiedName)
-
-
-
-