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 FilegetKspOutputDir(Project project, String sourceSetName, String target)final static FilegetKspClassOutputDir(Project project, String sourceSetName, String target)final static FilegetKspJavaOutputDir(Project project, String sourceSetName, String target)final static FilegetKspKotlinOutputDir(Project project, String sourceSetName, String target)final static FilegetKspResourceOutputDir(Project project, String sourceSetName, String target)final static FilegetKspCachesDir(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 File getKspOutputDir(Project project, String sourceSetName, String target)
-
getKspClassOutputDir
final static File getKspClassOutputDir(Project project, String sourceSetName, String target)
-
getKspJavaOutputDir
final static File getKspJavaOutputDir(Project project, String sourceSetName, String target)
-
getKspKotlinOutputDir
final static File getKspKotlinOutputDir(Project project, String sourceSetName, String target)
-
getKspResourceOutputDir
final static File getKspResourceOutputDir(Project project, String sourceSetName, String target)
-
getKspCachesDir
final static File getKspCachesDir(Project project, String sourceSetName, String target)
-
-
-
-