-
- All Implemented Interfaces:
-
org.gradle.api.Named
,org.jetbrains.kotlin.gradle.plugin.HasKotlinDependencies
,org.jetbrains.kotlin.project.model.KotlinModule
public interface KotlinGradleModule implements KotlinModule, Named, HasKotlinDependencies
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
KotlinGradleModule.Companion
-
Method Summary
Modifier and Type Method Description abstract Unit
ifMadePublic(Function0<Unit> action)
abstract Unit
makePublic()
String
getName()
Unit
common(Function1<KotlinGradleFragment, Unit> configure)
Unit
dependencies(Function1<KotlinDependencyHandler, Unit> configure)
Unit
dependencies(Closure<Object> configureClosure)
abstract Project
getProject()
abstract String
getModuleClassifier()
abstract ExtensiblePolymorphicDomainObjectContainer<KotlinGradleFragment>
getFragments()
abstract NamedDomainObjectSet<KotlinGradleVariant>
getVariants()
abstract Set<KpmCompilerPlugin>
getPlugins()
abstract Boolean
getIsPublic()
KotlinGradleFragment
getCommon()
String
getApiConfigurationName()
String
getImplementationConfigurationName()
String
getCompileOnlyConfigurationName()
String
getRuntimeOnlyConfigurationName()
abstract KotlinModuleIdentifier
getModuleIdentifier()
List<String>
getRelatedConfigurationNames()
-
-
Method Detail
-
ifMadePublic
abstract Unit ifMadePublic(Function0<Unit> action)
-
makePublic
abstract Unit makePublic()
-
common
Unit common(Function1<KotlinGradleFragment, Unit> configure)
-
dependencies
Unit dependencies(Function1<KotlinDependencyHandler, Unit> configure)
-
dependencies
Unit dependencies(Closure<Object> configureClosure)
-
getProject
abstract Project getProject()
-
getModuleClassifier
abstract String getModuleClassifier()
-
getFragments
abstract ExtensiblePolymorphicDomainObjectContainer<KotlinGradleFragment> getFragments()
-
getVariants
abstract NamedDomainObjectSet<KotlinGradleVariant> getVariants()
-
getPlugins
abstract Set<KpmCompilerPlugin> getPlugins()
-
getIsPublic
abstract Boolean getIsPublic()
-
getCommon
KotlinGradleFragment getCommon()
-
getApiConfigurationName
String getApiConfigurationName()
-
getImplementationConfigurationName
String getImplementationConfigurationName()
-
getCompileOnlyConfigurationName
String getCompileOnlyConfigurationName()
-
getRuntimeOnlyConfigurationName
String getRuntimeOnlyConfigurationName()
-
getModuleIdentifier
abstract KotlinModuleIdentifier getModuleIdentifier()
-
getRelatedConfigurationNames
List<String> getRelatedConfigurationNames()
-
-
-
-