Package com.google.devtools.ksp.gradle
Class KspGradleConfig
-
- All Implemented Interfaces:
public abstract class KspGradleConfig
-
-
Field Summary
Fields Modifier and Type Field Description private final ConfigurableFileCollectionprocessorClasspathprivate final Property<String>moduleNameprivate final ConfigurableFileCollectionsourceRootsprivate final ConfigurableFileCollectioncommonSourceRootsprivate final ConfigurableFileCollectionjavaSourceRootsprivate final ConfigurableFileCollectionlibrariesprivate final Property<File>jdkHomeprivate final Property<File>projectBaseDirprivate final Property<File>outputBaseDirprivate final Property<File>cachesDirprivate final Property<File>kotlinOutputDirprivate final Property<File>javaOutputDirprivate final Property<File>classOutputDirprivate final Property<File>resourceOutputDirprivate final Property<String>languageVersionprivate final Property<String>apiVersionprivate final MapProperty<String, String>processorOptionsprivate final Property<LogLevel>logLevelprivate final Property<Boolean>allWarningsAsErrorsprivate final SetProperty<String>excludedProcessorsprivate final Property<String>jvmTargetprivate final Property<String>jvmDefaultModeprivate final Property<Boolean>incrementalprivate final Property<Boolean>incrementalLogprivate final ConfigurableFileCollectionclasspathStructureprivate final Property<KotlinPlatformType>platformTypeprivate final Property<String>konanTargetNameprivate final Property<String>konanHome
-
Constructor Summary
Constructors Constructor Description KspGradleConfig()
-
Method Summary
Modifier and Type Method Description abstract ConfigurableFileCollectiongetProcessorClasspath()abstract Property<String>getModuleName()abstract ConfigurableFileCollectiongetSourceRoots()abstract ConfigurableFileCollectiongetCommonSourceRoots()abstract ConfigurableFileCollectiongetJavaSourceRoots()abstract ConfigurableFileCollectiongetLibraries()abstract Property<File>getJdkHome()abstract Property<File>getProjectBaseDir()abstract Property<File>getOutputBaseDir()abstract Property<File>getCachesDir()abstract Property<File>getKotlinOutputDir()abstract Property<File>getJavaOutputDir()abstract Property<File>getClassOutputDir()abstract Property<File>getResourceOutputDir()abstract Property<String>getLanguageVersion()abstract Property<String>getApiVersion()abstract MapProperty<String, String>getProcessorOptions()abstract Property<LogLevel>getLogLevel()abstract Property<Boolean>getAllWarningsAsErrors()abstract SetProperty<String>getExcludedProcessors()abstract Property<String>getJvmTarget()abstract Property<String>getJvmDefaultMode()abstract Property<Boolean>getIncremental()abstract Property<Boolean>getIncrementalLog()abstract ConfigurableFileCollectiongetClasspathStructure()abstract Property<KotlinPlatformType>getPlatformType()abstract Property<String>getKonanTargetName()abstract Property<String>getKonanHome()-
-
Method Detail
-
getProcessorClasspath
@Classpath() abstract ConfigurableFileCollection getProcessorClasspath()
-
getModuleName
@Input() abstract Property<String> getModuleName()
-
getSourceRoots
@InputFiles()@SkipWhenEmpty()@IgnoreEmptyDirectories()@PathSensitive(value = PathSensitivity.RELATIVE) abstract ConfigurableFileCollection getSourceRoots()
-
getCommonSourceRoots
@InputFiles()@SkipWhenEmpty()@IgnoreEmptyDirectories()@PathSensitive(value = PathSensitivity.RELATIVE) abstract ConfigurableFileCollection getCommonSourceRoots()
-
getJavaSourceRoots
@InputFiles()@SkipWhenEmpty()@IgnoreEmptyDirectories()@PathSensitive(value = PathSensitivity.RELATIVE) abstract ConfigurableFileCollection getJavaSourceRoots()
-
getLibraries
@Incremental()@Classpath() abstract ConfigurableFileCollection getLibraries()
-
getJdkHome
@Input()@Optional() abstract Property<File> getJdkHome()
-
getProjectBaseDir
@Internal() abstract Property<File> getProjectBaseDir()
-
getOutputBaseDir
@Internal() abstract Property<File> getOutputBaseDir()
-
getCachesDir
@Internal() abstract Property<File> getCachesDir()
-
getKotlinOutputDir
@OutputDirectory() abstract Property<File> getKotlinOutputDir()
-
getJavaOutputDir
@OutputDirectory() abstract Property<File> getJavaOutputDir()
-
getClassOutputDir
@OutputDirectory() abstract Property<File> getClassOutputDir()
-
getResourceOutputDir
@OutputDirectory() abstract Property<File> getResourceOutputDir()
-
getLanguageVersion
@Input() abstract Property<String> getLanguageVersion()
-
getApiVersion
@Input() abstract Property<String> getApiVersion()
-
getProcessorOptions
@Input() abstract MapProperty<String, String> getProcessorOptions()
-
getLogLevel
@Input() abstract Property<LogLevel> getLogLevel()
-
getAllWarningsAsErrors
@Input() abstract Property<Boolean> getAllWarningsAsErrors()
-
getExcludedProcessors
@Input() abstract SetProperty<String> getExcludedProcessors()
-
getJvmTarget
@Input()@Optional() abstract Property<String> getJvmTarget()
-
getJvmDefaultMode
@Input()@Optional() abstract Property<String> getJvmDefaultMode()
-
getIncremental
@Input() abstract Property<Boolean> getIncremental()
-
getIncrementalLog
@Input() abstract Property<Boolean> getIncrementalLog()
-
getClasspathStructure
@Internal() abstract ConfigurableFileCollection getClasspathStructure()
-
getPlatformType
@Input() abstract Property<KotlinPlatformType> getPlatformType()
-
getKonanTargetName
@Input()@Optional() abstract Property<String> getKonanTargetName()
-
getKonanHome
@Input()@Optional() abstract Property<String> getKonanHome()
-
-
-
-