-
- All Implemented Interfaces:
-
org.gradle.api.Named
,org.gradle.api.attributes.HasAttributes
public interface KotlinTarget implements Named, HasAttributes
-
-
Method Summary
Modifier and Type Method Description abstract Unit
mavenPublication(Closure<Unit> action)
abstract Unit
mavenPublication(Action<MavenPublication> action)
Unit
attributes(Function1<AttributeContainer, Unit> configure)
Unit
attributes(Closure<?> configure)
String
getName()
abstract String
getTargetName()
String
getDisambiguationClassifier()
abstract Boolean
getUseDisambiguationClassifierAsSourceSetNamePrefix()
abstract String
getOverrideDisambiguationClassifierOnIdeImport()
abstract KotlinPlatformType
getPlatformType()
abstract NamedDomainObjectContainer<out KotlinCompilation<KotlinCommonOptions>>
getCompilations()
abstract Project
getProject()
abstract String
getArtifactsTaskName()
abstract String
getDefaultConfigurationName()
abstract String
getApiElementsConfigurationName()
abstract String
getRuntimeElementsConfigurationName()
abstract Boolean
getPublishable()
abstract Set<SoftwareComponent>
getComponents()
abstract KotlinTargetPreset<out KotlinTarget>
getPreset()
-
-
Method Detail
-
mavenPublication
abstract Unit mavenPublication(Closure<Unit> action)
-
mavenPublication
abstract Unit mavenPublication(Action<MavenPublication> action)
-
attributes
Unit attributes(Function1<AttributeContainer, Unit> configure)
-
attributes
Unit attributes(Closure<?> configure)
-
getTargetName
abstract String getTargetName()
-
getDisambiguationClassifier
String getDisambiguationClassifier()
-
getUseDisambiguationClassifierAsSourceSetNamePrefix
abstract Boolean getUseDisambiguationClassifierAsSourceSetNamePrefix()
-
getOverrideDisambiguationClassifierOnIdeImport
abstract String getOverrideDisambiguationClassifierOnIdeImport()
-
getPlatformType
abstract KotlinPlatformType getPlatformType()
-
getCompilations
abstract NamedDomainObjectContainer<out KotlinCompilation<KotlinCommonOptions>> getCompilations()
-
getProject
abstract Project getProject()
-
getArtifactsTaskName
abstract String getArtifactsTaskName()
-
getDefaultConfigurationName
abstract String getDefaultConfigurationName()
-
getApiElementsConfigurationName
abstract String getApiElementsConfigurationName()
-
getRuntimeElementsConfigurationName
abstract String getRuntimeElementsConfigurationName()
-
getPublishable
abstract Boolean getPublishable()
-
getComponents
abstract Set<SoftwareComponent> getComponents()
-
getPreset
abstract KotlinTargetPreset<out KotlinTarget> getPreset()
-
-
-
-