Interface KotlinVersionResolver
- All Known Implementing Classes:
InitializrMetadataKotlinVersionResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy for resolving a Kotlin version from a platform version.
- Author:
- Andy Wilkinson
-
Method Summary
Modifier and TypeMethodDescriptionresolveKotlinVersion
(ProjectDescription description) Resolves the Kotlin version to use for the generation of the project with the givendescription
.
-
Method Details
-
resolveKotlinVersion
Resolves the Kotlin version to use for the generation of the project with the givendescription
.- Parameters:
description
- the description of the project being generated- Returns:
- the corresponding Kotlin version
-