-
- All Implemented Interfaces:
public interface KotlinProject
Entry point for the model of Kotlin Projects. Plugins 'kotlin', 'kotlin-platform-jvm', 'kotlin2js', 'kotlin-platform-js' and 'kotlin-platform-common' can produce this model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
KotlinProject.ProjectType
Possible Kotlin project types.
-
Method Summary
Modifier and Type Method Description abstract Long
getModelVersion()
Return a number representing the version of this API. abstract String
getName()
Returns the module (Gradle project) name. abstract String
getKotlinVersion()
Return the Kotlin version. abstract KotlinProject.ProjectType
getProjectType()
Return the type of the platform plugin applied. abstract Collection<SourceSet>
getSourceSets()
Return all source sets used by Kotlin. abstract Collection<String>
getExpectedByDependencies()
Return all modules (Gradle projects) registered as 'expectedBy' dependency. -
-
Method Detail
-
getModelVersion
abstract Long getModelVersion()
Return a number representing the version of this API. Always increasing if changed.
-
getKotlinVersion
abstract String getKotlinVersion()
Return the Kotlin version.
-
getProjectType
abstract KotlinProject.ProjectType getProjectType()
Return the type of the platform plugin applied.
-
getSourceSets
abstract Collection<SourceSet> getSourceSets()
Return all source sets used by Kotlin.
-
getExpectedByDependencies
abstract Collection<String> getExpectedByDependencies()
Return all modules (Gradle projects) registered as 'expectedBy' dependency.
-
-
-
-