Package com.google.devtools.ksp.gradle
Class KspGradleSubplugin
-
- All Implemented Interfaces:
-
org.gradle.api.Plugin,org.jetbrains.kotlin.gradle.plugin.KotlinCompilerPluginSupportPlugin
public final class KspGradleSubplugin implements KotlinCompilerPluginSupportPlugin
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringKSP_PLUGIN_IDpublic final static StringKSP_API_IDpublic final static StringKSP_COMPILER_PLUGIN_IDpublic final static StringKSP_COMPILER_PLUGIN_ID_NON_EMBEDDABLEpublic final static StringKSP_GROUP_IDpublic final static StringKSP_PLUGIN_CLASSPATH_CONFIGURATION_NAMEpublic final static StringKSP_PLUGIN_CLASSPATH_CONFIGURATION_NAME_NON_EMBEDDABLE
-
Method Summary
Modifier and Type Method Description Unitapply(Project target)BooleanisApplicable(KotlinCompilation<?> kotlinCompilation)Provider<List<SubpluginOption>>applyToCompilation(KotlinCompilation<?> kotlinCompilation)StringgetCompilerPluginId()SubpluginArtifactgetPluginArtifact()SubpluginArtifactgetPluginArtifactForNative()final static Provider<Directory>getKspOutputDir(Project project, String sourceSetName, String target)final static Provider<Directory>getKspClassOutputDir(Project project, String sourceSetName, String target)final static Provider<Directory>getKspJavaOutputDir(Project project, String sourceSetName, String target)final static Provider<Directory>getKspKotlinOutputDir(Project project, String sourceSetName, String target)final static Provider<Directory>getKspResourceOutputDir(Project project, String sourceSetName, String target)final static Provider<Directory>getKspCachesDir(Project project, String sourceSetName, String target)-
-
Method Detail
-
isApplicable
Boolean isApplicable(KotlinCompilation<?> kotlinCompilation)
-
applyToCompilation
Provider<List<SubpluginOption>> applyToCompilation(KotlinCompilation<?> kotlinCompilation)
-
getCompilerPluginId
String getCompilerPluginId()
-
getPluginArtifact
SubpluginArtifact getPluginArtifact()
-
getPluginArtifactForNative
SubpluginArtifact getPluginArtifactForNative()
-
getKspOutputDir
final static Provider<Directory> getKspOutputDir(Project project, String sourceSetName, String target)
-
getKspClassOutputDir
final static Provider<Directory> getKspClassOutputDir(Project project, String sourceSetName, String target)
-
getKspJavaOutputDir
final static Provider<Directory> getKspJavaOutputDir(Project project, String sourceSetName, String target)
-
getKspKotlinOutputDir
final static Provider<Directory> getKspKotlinOutputDir(Project project, String sourceSetName, String target)
-
getKspResourceOutputDir
final static Provider<Directory> getKspResourceOutputDir(Project project, String sourceSetName, String target)
-
getKspCachesDir
final static Provider<Directory> getKspCachesDir(Project project, String sourceSetName, String target)
-
-
-
-