-
- All Implemented Interfaces:
-
org.jetbrains.kotlin.gradle.dsl.KaptExtensionConfig
public class KaptExtension implements KaptExtensionConfig
-
-
Field Summary
Fields Modifier and Type Field Description private BooleangenerateStubsprivate BooleaninheritedAnnotationsprivate BooleanuseLightAnalysisprivate BooleancorrectErrorTypesprivate BooleandumpDefaultParameterValuesprivate BooleanmapDiagnosticLocationsprivate BooleanstrictModeprivate BooleanstripMetadataprivate BooleanshowProcessorStatsprivate StringdetectMemoryLeaksprivate BooleanincludeCompileClasspathprivate Stringprocessorsprivate BooleankeepJavacAnnotationProcessorsprivate BooleanuseBuildCache
-
Constructor Summary
Constructors Constructor Description KaptExtension()
-
Method Summary
-
-
Method Detail
-
getGenerateStubs
Boolean getGenerateStubs()
-
setGenerateStubs
Unit setGenerateStubs(Boolean generateStubs)
-
getInheritedAnnotations
Boolean getInheritedAnnotations()
-
setInheritedAnnotations
Unit setInheritedAnnotations(Boolean inheritedAnnotations)
-
getUseLightAnalysis
Boolean getUseLightAnalysis()
-
setUseLightAnalysis
Unit setUseLightAnalysis(Boolean useLightAnalysis)
-
getCorrectErrorTypes
Boolean getCorrectErrorTypes()
-
setCorrectErrorTypes
Unit setCorrectErrorTypes(Boolean correctErrorTypes)
-
getDumpDefaultParameterValues
Boolean getDumpDefaultParameterValues()
-
setDumpDefaultParameterValues
Unit setDumpDefaultParameterValues(Boolean dumpDefaultParameterValues)
-
getMapDiagnosticLocations
Boolean getMapDiagnosticLocations()
-
setMapDiagnosticLocations
Unit setMapDiagnosticLocations(Boolean mapDiagnosticLocations)
-
getStrictMode
Boolean getStrictMode()
-
setStrictMode
Unit setStrictMode(Boolean strictMode)
-
getStripMetadata
Boolean getStripMetadata()
-
setStripMetadata
Unit setStripMetadata(Boolean stripMetadata)
-
getShowProcessorStats
Boolean getShowProcessorStats()
-
setShowProcessorStats
Unit setShowProcessorStats(Boolean showProcessorStats)
-
getDetectMemoryLeaks
String getDetectMemoryLeaks()
-
setDetectMemoryLeaks
Unit setDetectMemoryLeaks(String detectMemoryLeaks)
-
getIncludeCompileClasspath
Boolean getIncludeCompileClasspath()
-
setIncludeCompileClasspath
Unit setIncludeCompileClasspath(Boolean includeCompileClasspath)
-
getProcessors
String getProcessors()
-
setProcessors
Unit setProcessors(@Deprecated(message = "Use `annotationProcessor()` and `annotationProcessors()` instead") String processors)
-
getKeepJavacAnnotationProcessors
Boolean getKeepJavacAnnotationProcessors()
-
setKeepJavacAnnotationProcessors
Unit setKeepJavacAnnotationProcessors(Boolean keepJavacAnnotationProcessors)
-
getUseBuildCache
Boolean getUseBuildCache()
-
setUseBuildCache
Unit setUseBuildCache(Boolean useBuildCache)
-
annotationProcessor
Unit annotationProcessor(String fqName)
-
annotationProcessors
Unit annotationProcessors(String fqName)
-
javacOptions
Unit javacOptions(Closure<?> closure)
-
javacOptions
Unit javacOptions(Function1<KaptJavacOption, Unit> action)
-
getJavacOptions
Map<String, String> getJavacOptions()
-
getAdditionalArguments
final Map<String, String> getAdditionalArguments(Project project, Object variantData, Object androidExtension)
-
getAdditionalArgumentsForJavac
final List<String> getAdditionalArgumentsForJavac(Project project, Object variantData, Object androidExtension)
-
-
-
-