Class InitializrMetadataKotlinVersionResolver
java.lang.Object
io.spring.initializr.generator.spring.code.kotlin.InitializrMetadataKotlinVersionResolver
- All Implemented Interfaces:
KotlinVersionResolver
public class InitializrMetadataKotlinVersionResolver
extends Object
implements KotlinVersionResolver
KotlinVersionResolver
that resolves the version from the
InitializrMetadata
.- Author:
- Andy Wilkinson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolveKotlinVersion
(ProjectDescription description) Resolves the Kotlin version to use for the generation of the project with the givendescription
.
-
Constructor Details
-
InitializrMetadataKotlinVersionResolver
-
-
Method Details
-
resolveKotlinVersion
Description copied from interface:KotlinVersionResolver
Resolves the Kotlin version to use for the generation of the project with the givendescription
.- Specified by:
resolveKotlinVersion
in interfaceKotlinVersionResolver
- Parameters:
description
- the description of the project being generated- Returns:
- the corresponding Kotlin version
-