@CompileStatic interface DefaultConfigurationsDependencyHandler
Applies platforms on default configurations. The following configurations will be used:
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract void |
enforcedPlatform(Object notation)Declares and configures a dependency on an enforced platform. |
|
abstract void |
enforcedPlatform(Object notation, Action<? super Dependency> action)Declares and configures a dependency on an enforced platform. |
|
abstract void |
platform(Object notation)Declares a dependency on a platform. |
|
abstract void |
platform(Object notation, Action<? super Dependency> action)Declares a dependency on a platform. |
Declares and configures a dependency on an enforced platform.
Valid values for notation are:
java.lang.CharSequence with format groupId:artifactId:versionjava.util.Map with group, artifactId, version keysjava.lang.CharSequence with the name of a platform declared in config.dependenciesnotation - - the coordinates of the platform Declares and configures a dependency on an enforced platform.
Valid values for notation are:
java.lang.CharSequence with format groupId:artifactId:versionjava.util.Map with group, artifactId, version keysjava.lang.CharSequence with the name of a platform declared in config.dependenciesnotation - - the coordinates of the platformaction - the dependency configuration block Declares a dependency on a platform.
Valid values for notation are:
java.lang.CharSequence with format groupId:artifactId:versionjava.util.Map with group, artifactId, version keysjava.lang.CharSequence with the name of a platform declared in config.dependenciesnotation - - the coordinates of the platform Declares a dependency on a platform.
Valid values for notation are:
java.lang.CharSequence with format groupId:artifactId:versionjava.util.Map with group, artifactId, version keysjava.lang.CharSequence with the name of a platform declared in config.dependenciesnotation - - the coordinates of the platformaction - the dependency configuration block