Interface HasKotlinDependencies

  • All Implemented Interfaces:

    
    public interface HasKotlinDependencies
    
                        

    Contains all the configurable Kotlin dependencies for a Kotlin DSL entity, like an instance of KotlinSourceSet.

    • Constructor Detail

    • Method Detail

      • getApiConfigurationName

         abstract String getApiConfigurationName()

        The name of the Gradle Configuration that contains api dependencies.

        The Gradle api configuration should be used to declare dependencies which are exported by the project API.

        This Gradle configuration is not meant to be resolved.

      • getImplementationConfigurationName

         abstract String getImplementationConfigurationName()

        The name of the Gradle Configuration that contains implementation dependencies.

        The Gradle implementation configuration should be used to declare dependencies which are internal to the component (internal APIs).

        This Gradle configuration is not meant to be resolved.

      • getCompileOnlyConfigurationName

         abstract String getCompileOnlyConfigurationName()

        The name of the Gradle Configuration containing compileOnly dependencies.

        The Gradle compileOnly configuration should be used to declare dependencies that participate in compilation, but who need to be added explicitly by consumers at runtime.

        This Gradle configuration is not meant to be resolved.

      • getRuntimeOnlyConfigurationName

         abstract String getRuntimeOnlyConfigurationName()

        The name of the Gradle Configuration containing runtimeOnly dependencies.

        The Gradle runtimeOnly configuration should be used to declare dependencies that don't participate in compilation, but who are added at runtime.

        This Gradle configuration is not meant to be resolved.