-
- All Implemented Interfaces:
-
org.gradle.api.Named
,org.gradle.api.attributes.HasAttributes
,org.jetbrains.kotlin.gradle.plugin.KotlinTarget
public abstract class KotlinWithJavaTarget<KotlinOptionsType extends KotlinCommonOptions, CO extends KotlinCommonCompilerOptions> extends AbstractKotlinTarget
-
-
Field Summary
Fields Modifier and Type Field Description private final String
disambiguationClassifier
private final String
defaultConfigurationName
private final String
apiElementsConfigurationName
private final String
runtimeElementsConfigurationName
private final String
artifactsTaskName
private final NamedDomainObjectContainer<KotlinWithJavaCompilation<KotlinOptionsType, CO>>
compilations
private final KotlinPlatformType
platformType
private final String
targetName
private final Boolean
useDisambiguationClassifierAsSourceSetNamePrefix
private final String
overrideDisambiguationClassifierOnIdeImport
private final Boolean
publishable
private final Set<SoftwareComponent>
components
private final KotlinTargetPreset<out KotlinTarget>
preset
private final Project
project
-
Constructor Summary
Constructors Constructor Description KotlinWithJavaTarget(Project project, KotlinPlatformType platformType, String targetName, Function0<HasCompilerOptions<CO>> compilerOptionsFactory, Function1<CO, KotlinOptionsType> kotlinOptionsFactory)
-
Method Summary
Modifier and Type Method Description String
getDisambiguationClassifier()
String
getDefaultConfigurationName()
String
getApiElementsConfigurationName()
String
getRuntimeElementsConfigurationName()
String
getArtifactsTaskName()
NamedDomainObjectContainer<KotlinWithJavaCompilation<KotlinOptionsType, CO>>
getCompilations()
KotlinPlatformType
getPlatformType()
String
getTargetName()
-
Methods inherited from class org.jetbrains.kotlin.gradle.plugin.mpp.AbstractKotlinTarget
getAttributes, getComponents, getOverrideDisambiguationClassifierOnIdeImport, getPreset, getProject, getPublishable, getUseDisambiguationClassifierAsSourceSetNamePrefix, mavenPublication, toString
-
Methods inherited from class org.jetbrains.kotlin.gradle.plugin.KotlinTarget
attributes, attributes, getName, mavenPublication
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
KotlinWithJavaTarget
KotlinWithJavaTarget(Project project, KotlinPlatformType platformType, String targetName, Function0<HasCompilerOptions<CO>> compilerOptionsFactory, Function1<CO, KotlinOptionsType> kotlinOptionsFactory)
-
-
Method Detail
-
getDisambiguationClassifier
String getDisambiguationClassifier()
-
getDefaultConfigurationName
String getDefaultConfigurationName()
-
getApiElementsConfigurationName
String getApiElementsConfigurationName()
-
getRuntimeElementsConfigurationName
String getRuntimeElementsConfigurationName()
-
getArtifactsTaskName
String getArtifactsTaskName()
-
getCompilations
NamedDomainObjectContainer<KotlinWithJavaCompilation<KotlinOptionsType, CO>> getCompilations()
-
getPlatformType
KotlinPlatformType getPlatformType()
-
getTargetName
String getTargetName()
-
-