Interface AutoconfigureRuleBuilder

    • 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 matching(Spec<in ModuleVersionIdentifier> predicate) By default the rule would apply to all modules specified in triggerDependency.
      abstract Unit compileAndRuntime(Object dependencyNotation) Adds a dependency to the Maven's compile and runtime scopes.
      abstract Unit compileAndRuntime(Object dependencyNotation, Action<in DependencyMetadata<?>> configureAction) Adds a dependency to the Maven's compile and runtime scopes.
      abstract Unit compileOnly(Object dependencyNotation) Adds a dependency to the Maven's compile scope only.
      abstract Unit compileOnly(Object dependencyNotation, Action<in DependencyMetadata<?>> configureAction) Adds a dependency to the Maven's compile scope only.
      abstract Unit runtimeOnly(Object dependencyNotation) Adds a dependency to the Maven's runtime scope only.
      abstract Unit runtimeOnly(Object dependencyNotation, Action<in DependencyMetadata<?>> configureAction) Adds a dependency to the Maven's runtime scope only.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • matching

         abstract Unit matching(Spec<in ModuleVersionIdentifier> predicate)

        By default the rule would apply to all modules specified in triggerDependency. This method sets a filter to distinguish adapters like cucumber2-jvm and cucumber3-jvm. Note: each call overwrites the filter.

      • compileAndRuntime

         abstract Unit compileAndRuntime(Object dependencyNotation)

        Adds a dependency to the Maven's compile and runtime scopes.

      • compileAndRuntime

         abstract Unit compileAndRuntime(Object dependencyNotation, Action<in DependencyMetadata<?>> configureAction)

        Adds a dependency to the Maven's compile and runtime scopes.

      • compileOnly

         abstract Unit compileOnly(Object dependencyNotation)

        Adds a dependency to the Maven's compile scope only.

      • compileOnly

         abstract Unit compileOnly(Object dependencyNotation, Action<in DependencyMetadata<?>> configureAction)

        Adds a dependency to the Maven's compile scope only.

      • runtimeOnly

         abstract Unit runtimeOnly(Object dependencyNotation)

        Adds a dependency to the Maven's runtime scope only.

      • runtimeOnly

         abstract Unit runtimeOnly(Object dependencyNotation, Action<in DependencyMetadata<?>> configureAction)

        Adds a dependency to the Maven's runtime scope only.