-
- All Implemented Interfaces:
-
org.jetbrains.kotlin.gradle.plugin.mpp.CompilationDetails,org.jetbrains.kotlin.gradle.plugin.mpp.pm20.KotlinCompilationData
public class DefaultCompilationDetails<T extends KotlinCommonOptions, CO extends KotlinCommonCompilerOptions> extends AbstractCompilationDetails<T> implements KotlinCompilationData<T>
-
-
Field Summary
Fields Modifier and Type Field Description private final HasCompilerOptions<CO>compilerOptionsprivate final TkotlinOptionsprivate final Projectprojectprivate final KotlinTargetownerprivate final KotlinCompilationData<T>compilationDataprivate final HasKotlinDependencieskotlinDependenciesHolderprivate final GradleKpmDependencyFilesHoldercompileDependencyFilesHolderprivate final StringcompilationClassifierprivate final Map<String, SourceDirectorySet>kotlinSourceDirectoriesByFragmentNameprivate final StringcompileKotlinTaskNameprivate final StringcompileAllTaskNameprivate final FileCollectioncompileDependencyFilesprivate final KotlinCompilationOutputoutputprivate final LanguageSettingslanguageSettingsprivate final KotlinPlatformTypeplatformTypeprivate final StringmoduleNameprivate final StringownModuleNameprivate final Iterable<FileCollection>friendPathsprivate final Set<CompilationDetails<?>>associateCompilationsprivate final KotlinTargettargetprivate final StringcompilationPurposeprivate final ObservableSet<KotlinSourceSet>directlyIncludedKotlinSourceSetsprivate final ObservableSet<KotlinSourceSet>allKotlinSourceSetsprivate final KotlinSourceSetdefaultSourceSetprivate final StringdefaultSourceSetNameprivate final KotlinCompilation<T>compilation
-
Constructor Summary
Constructors Constructor Description DefaultCompilationDetails(KotlinTarget target, String compilationPurpose, KotlinSourceSet defaultSourceSet, Function1<DefaultCompilationDetails<T, CO>, HasCompilerOptions<CO>> createCompilerOptions, Function1<DefaultCompilationDetails<T, CO>, T> createKotlinOptions)
-
Method Summary
Modifier and Type Method Description HasCompilerOptions<CO>getCompilerOptions()TgetKotlinOptions()final ProjectgetProject()KotlinTargetgetOwner()KotlinCompilationData<T>getCompilationData()HasKotlinDependenciesgetKotlinDependenciesHolder()GradleKpmDependencyFilesHoldergetCompileDependencyFilesHolder()StringgetCompilationClassifier()Map<String, SourceDirectorySet>getKotlinSourceDirectoriesByFragmentName()StringgetCompileKotlinTaskName()StringgetCompileAllTaskName()FileCollectiongetCompileDependencyFiles()KotlinCompilationOutputgetOutput()LanguageSettingsgetLanguageSettings()KotlinPlatformTypegetPlatformType()StringgetModuleName()StringgetOwnModuleName()Iterable<FileCollection>getFriendPaths()Set<CompilationDetails<?>>getAssociateCompilations()final KotlinTargetgetTarget()final StringgetCompilationPurpose()UnitassociateWith(CompilationDetails<?> other)UnitaddSourcesToCompileTask(KotlinSourceSet sourceSet, Lazy<Boolean> addAsCommonSources)-
Methods inherited from class org.jetbrains.kotlin.gradle.plugin.mpp.AbstractCompilationDetails
getAllKotlinSourceSets, getDefaultSourceSet, getDirectlyIncludedKotlinSourceSets, source -
Methods inherited from class org.jetbrains.kotlin.gradle.plugin.mpp.CompilationDetails
getCompilation, getDefaultSourceSetName -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
DefaultCompilationDetails
DefaultCompilationDetails(KotlinTarget target, String compilationPurpose, KotlinSourceSet defaultSourceSet, Function1<DefaultCompilationDetails<T, CO>, HasCompilerOptions<CO>> createCompilerOptions, Function1<DefaultCompilationDetails<T, CO>, T> createKotlinOptions)
-
-
Method Detail
-
getCompilerOptions
HasCompilerOptions<CO> getCompilerOptions()
-
getKotlinOptions
T getKotlinOptions()
-
getProject
final Project getProject()
-
getOwner
KotlinTarget getOwner()
-
getCompilationData
KotlinCompilationData<T> getCompilationData()
-
getKotlinDependenciesHolder
HasKotlinDependencies getKotlinDependenciesHolder()
-
getCompileDependencyFilesHolder
GradleKpmDependencyFilesHolder getCompileDependencyFilesHolder()
-
getCompilationClassifier
String getCompilationClassifier()
-
getKotlinSourceDirectoriesByFragmentName
Map<String, SourceDirectorySet> getKotlinSourceDirectoriesByFragmentName()
-
getCompileKotlinTaskName
String getCompileKotlinTaskName()
-
getCompileAllTaskName
String getCompileAllTaskName()
-
getCompileDependencyFiles
FileCollection getCompileDependencyFiles()
-
getOutput
KotlinCompilationOutput getOutput()
-
getLanguageSettings
LanguageSettings getLanguageSettings()
-
getPlatformType
KotlinPlatformType getPlatformType()
-
getModuleName
String getModuleName()
-
getOwnModuleName
String getOwnModuleName()
-
getFriendPaths
Iterable<FileCollection> getFriendPaths()
-
getAssociateCompilations
Set<CompilationDetails<?>> getAssociateCompilations()
-
getTarget
final KotlinTarget getTarget()
-
getCompilationPurpose
final String getCompilationPurpose()
-
associateWith
Unit associateWith(CompilationDetails<?> other)
-
addSourcesToCompileTask
Unit addSourcesToCompileTask(KotlinSourceSet sourceSet, Lazy<Boolean> addAsCommonSources)
-
-
-
-