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.

@FunctionalInterface public interface KotlinVersionResolver
Strategy for resolving a Kotlin version from a platform version.
Author:
Andy Wilkinson
  • Method Summary

    Modifier and Type
    Method
    Description
    Resolves the Kotlin version to use for the generation of the project with the given description.
  • Method Details

    • resolveKotlinVersion

      String resolveKotlinVersion(ProjectDescription description)
      Resolves the Kotlin version to use for the generation of the project with the given description.
      Parameters:
      description - the description of the project being generated
      Returns:
      the corresponding Kotlin version