Package com.google.devtools.ksp
Class KspOptions.Builder
-
- All Implemented Interfaces:
public final class KspOptions.Builder
-
-
Field Summary
Fields Modifier and Type Field Description private FileprojectBaseDirprivate final List<File>compileClasspathprivate final List<File>javaSourceRootsprivate FileclassOutputDirprivate FilejavaOutputDirprivate FilekotlinOutputDirprivate FileresourceOutputDirprivate final List<File>processingClasspathprivate final List<String>processorsprivate final Map<String, String>processingOptionsprivate final List<File>knownModifiedprivate final List<File>knownRemovedprivate FilecachesDirprivate FilekspOutputDirprivate Booleanincrementalprivate BooleanincrementalLogprivate BooleanallWarningsAsErrorsprivate BooleanwithCompilationprivate BooleanreturnOkOnErrorprivate List<String>changedClassesprivate LanguageVersionSettingslanguageVersionSettingsprivate KotlinVersioncompilerVersionprivate List<File>commonSourcesprivate Set<String>excludedProcessorsprivate BooleanmapAnnotationArgumentsInJava
-
Constructor Summary
Constructors Constructor Description KspOptions.Builder()
-
Method Summary
-
-
Method Detail
-
getProjectBaseDir
final File getProjectBaseDir()
-
setProjectBaseDir
final Unit setProjectBaseDir(File projectBaseDir)
-
getCompileClasspath
final List<File> getCompileClasspath()
-
getJavaSourceRoots
final List<File> getJavaSourceRoots()
-
getClassOutputDir
final File getClassOutputDir()
-
setClassOutputDir
final Unit setClassOutputDir(File classOutputDir)
-
getJavaOutputDir
final File getJavaOutputDir()
-
setJavaOutputDir
final Unit setJavaOutputDir(File javaOutputDir)
-
getKotlinOutputDir
final File getKotlinOutputDir()
-
setKotlinOutputDir
final Unit setKotlinOutputDir(File kotlinOutputDir)
-
getResourceOutputDir
final File getResourceOutputDir()
-
setResourceOutputDir
final Unit setResourceOutputDir(File resourceOutputDir)
-
getProcessingClasspath
final List<File> getProcessingClasspath()
-
getProcessors
final List<String> getProcessors()
-
getProcessingOptions
final Map<String, String> getProcessingOptions()
-
getKnownModified
final List<File> getKnownModified()
-
getKnownRemoved
final List<File> getKnownRemoved()
-
getCachesDir
final File getCachesDir()
-
setCachesDir
final Unit setCachesDir(File cachesDir)
-
getKspOutputDir
final File getKspOutputDir()
-
setKspOutputDir
final Unit setKspOutputDir(File kspOutputDir)
-
getIncremental
final Boolean getIncremental()
-
setIncremental
final Unit setIncremental(Boolean incremental)
-
getIncrementalLog
final Boolean getIncrementalLog()
-
setIncrementalLog
final Unit setIncrementalLog(Boolean incrementalLog)
-
getAllWarningsAsErrors
final Boolean getAllWarningsAsErrors()
-
setAllWarningsAsErrors
final Unit setAllWarningsAsErrors(Boolean allWarningsAsErrors)
-
getWithCompilation
final Boolean getWithCompilation()
-
setWithCompilation
final Unit setWithCompilation(Boolean withCompilation)
-
getReturnOkOnError
final Boolean getReturnOkOnError()
-
setReturnOkOnError
final Unit setReturnOkOnError(Boolean returnOkOnError)
-
getChangedClasses
final List<String> getChangedClasses()
-
setChangedClasses
final Unit setChangedClasses(List<String> changedClasses)
-
getLanguageVersionSettings
final LanguageVersionSettings getLanguageVersionSettings()
-
setLanguageVersionSettings
final Unit setLanguageVersionSettings(LanguageVersionSettings languageVersionSettings)
-
getCompilerVersion
final KotlinVersion getCompilerVersion()
-
setCompilerVersion
final Unit setCompilerVersion(KotlinVersion compilerVersion)
-
getCommonSources
final List<File> getCommonSources()
-
setCommonSources
final Unit setCommonSources(List<File> commonSources)
-
getExcludedProcessors
final Set<String> getExcludedProcessors()
-
setExcludedProcessors
final Unit setExcludedProcessors(Set<String> excludedProcessors)
-
getMapAnnotationArgumentsInJava
final Boolean getMapAnnotationArgumentsInJava()
-
setMapAnnotationArgumentsInJava
final Unit setMapAnnotationArgumentsInJava(Boolean mapAnnotationArgumentsInJava)
-
build
final KspOptions build()
-
-
-
-