Package 

Interface KotlinTopLevelExtensionConfig

  • All Implemented Interfaces:

    
    public interface KotlinTopLevelExtensionConfig
    
                        

    DSL extension that is used to configure Kotlin options for the entire project.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit explicitApi() Sets explicitApi option to report issues as errors.
      abstract Unit explicitApiWarning() Sets explicitApi option to report issues as warnings.
      abstract String getCoreLibrariesVersion() Version of the core Kotlin libraries that are added to Kotlin compile classpath, unless there is already a dependency added to this project.
      abstract Unit setCoreLibrariesVersion(String coreLibrariesVersion) Version of the core Kotlin libraries that are added to Kotlin compile classpath, unless there is already a dependency added to this project.
      abstract ExplicitApiMode getExplicitApi() Option that tells the compiler if and how to report issues on all public API declarations without explicit visibility or return type.
      abstract Unit setExplicitApi(ExplicitApiMode explicitApi) Option that tells the compiler if and how to report issues on all public API declarations without explicit visibility or return type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getCoreLibrariesVersion

         abstract String getCoreLibrariesVersion()

        Version of the core Kotlin libraries that are added to Kotlin compile classpath, unless there is already a dependency added to this project. By default, this version is the same as the version of the used Kotlin Gradle plugin.

      • setCoreLibrariesVersion

         abstract Unit setCoreLibrariesVersion(String coreLibrariesVersion)

        Version of the core Kotlin libraries that are added to Kotlin compile classpath, unless there is already a dependency added to this project. By default, this version is the same as the version of the used Kotlin Gradle plugin.

      • getExplicitApi

         abstract ExplicitApiMode getExplicitApi()

        Option that tells the compiler if and how to report issues on all public API declarations without explicit visibility or return type.

      • setExplicitApi

         abstract Unit setExplicitApi(ExplicitApiMode explicitApi)

        Option that tells the compiler if and how to report issues on all public API declarations without explicit visibility or return type.