Interface KotlinDependencyHandler
-
- All Implemented Interfaces:
public interface KotlinDependencyHandler
-
-
Method Summary
Modifier and Type Method Description abstract Dependency
api(Object dependencyNotation)
abstract ExternalModuleDependency
api(String dependencyNotation, Function1<ExternalModuleDependency, Unit> configure)
abstract <T extends Dependency> T
api(T dependency, Function1<T, Unit> configure)
ExternalModuleDependency
api(String dependencyNotation, Closure<?> configure)
<T extends Dependency> T
api(T dependency, Closure<?> configure)
abstract Dependency
implementation(Object dependencyNotation)
abstract ExternalModuleDependency
implementation(String dependencyNotation, Function1<ExternalModuleDependency, Unit> configure)
abstract <T extends Dependency> T
implementation(T dependency, Function1<T, Unit> configure)
ExternalModuleDependency
implementation(String dependencyNotation, Closure<?> configure)
<T extends Dependency> T
implementation(T dependency, Closure<?> configure)
abstract Dependency
compileOnly(Object dependencyNotation)
abstract ExternalModuleDependency
compileOnly(String dependencyNotation, Function1<ExternalModuleDependency, Unit> configure)
abstract <T extends Dependency> T
compileOnly(T dependency, Function1<T, Unit> configure)
ExternalModuleDependency
compileOnly(String dependencyNotation, Closure<?> configure)
<T extends Dependency> T
compileOnly(T dependency, Closure<?> configure)
abstract Dependency
runtimeOnly(Object dependencyNotation)
abstract ExternalModuleDependency
runtimeOnly(String dependencyNotation, Function1<ExternalModuleDependency, Unit> configure)
abstract <T extends Dependency> T
runtimeOnly(T dependency, Function1<T, Unit> configure)
ExternalModuleDependency
runtimeOnly(String dependencyNotation, Closure<?> configure)
<T extends Dependency> T
runtimeOnly(T dependency, Closure<?> configure)
ExternalModuleDependency
kotlin(String simpleModuleName)
abstract ExternalModuleDependency
kotlin(String simpleModuleName, String version)
ProjectDependency
project(String path, String configuration)
abstract ProjectDependency
project(Map<String, Object> notation)
Dependency
enforcedPlatform(Object notation)
Dependency
enforcedPlatform(Object notation, Action<in Dependency> configureAction)
Dependency
platform(Object notation)
Dependency
platform(Object notation, Action<in Dependency> configureAction)
Dependency
npm(String name, String version, Boolean generateExternals)
abstract Dependency
npm(String name, String version)
Dependency
npm(String name, File directory, Boolean generateExternals)
abstract Dependency
npm(String name, File directory)
Dependency
npm(File directory, Boolean generateExternals)
abstract Dependency
npm(File directory)
abstract Dependency
devNpm(String name, String version)
abstract Dependency
devNpm(String name, File directory)
abstract Dependency
devNpm(File directory)
Dependency
optionalNpm(String name, String version, Boolean generateExternals)
abstract Dependency
optionalNpm(String name, String version)
Dependency
optionalNpm(String name, File directory, Boolean generateExternals)
abstract Dependency
optionalNpm(String name, File directory)
Dependency
optionalNpm(File directory, Boolean generateExternals)
abstract Dependency
optionalNpm(File directory)
abstract Dependency
peerNpm(String name, String version)
abstract Project
getProject()
-
-
Method Detail
-
api
abstract Dependency api(Object dependencyNotation)
-
api
abstract ExternalModuleDependency api(String dependencyNotation, Function1<ExternalModuleDependency, Unit> configure)
-
api
ExternalModuleDependency api(String dependencyNotation, Closure<?> configure)
-
api
<T extends Dependency> T api(T dependency, Closure<?> configure)
-
implementation
abstract Dependency implementation(Object dependencyNotation)
-
implementation
abstract ExternalModuleDependency implementation(String dependencyNotation, Function1<ExternalModuleDependency, Unit> configure)
-
implementation
abstract <T extends Dependency> T implementation(T dependency, Function1<T, Unit> configure)
-
implementation
ExternalModuleDependency implementation(String dependencyNotation, Closure<?> configure)
-
implementation
<T extends Dependency> T implementation(T dependency, Closure<?> configure)
-
compileOnly
abstract Dependency compileOnly(Object dependencyNotation)
-
compileOnly
abstract ExternalModuleDependency compileOnly(String dependencyNotation, Function1<ExternalModuleDependency, Unit> configure)
-
compileOnly
abstract <T extends Dependency> T compileOnly(T dependency, Function1<T, Unit> configure)
-
compileOnly
ExternalModuleDependency compileOnly(String dependencyNotation, Closure<?> configure)
-
compileOnly
<T extends Dependency> T compileOnly(T dependency, Closure<?> configure)
-
runtimeOnly
abstract Dependency runtimeOnly(Object dependencyNotation)
-
runtimeOnly
abstract ExternalModuleDependency runtimeOnly(String dependencyNotation, Function1<ExternalModuleDependency, Unit> configure)
-
runtimeOnly
abstract <T extends Dependency> T runtimeOnly(T dependency, Function1<T, Unit> configure)
-
runtimeOnly
ExternalModuleDependency runtimeOnly(String dependencyNotation, Closure<?> configure)
-
runtimeOnly
<T extends Dependency> T runtimeOnly(T dependency, Closure<?> configure)
-
kotlin
ExternalModuleDependency kotlin(String simpleModuleName)
-
kotlin
abstract ExternalModuleDependency kotlin(String simpleModuleName, String version)
-
project
ProjectDependency project(String path, String configuration)
-
project
abstract ProjectDependency project(Map<String, Object> notation)
-
enforcedPlatform
Dependency enforcedPlatform(Object notation)
-
enforcedPlatform
Dependency enforcedPlatform(Object notation, Action<in Dependency> configureAction)
-
platform
Dependency platform(Object notation)
-
platform
Dependency platform(Object notation, Action<in Dependency> configureAction)
-
npm
Dependency npm(String name, String version, Boolean generateExternals)
-
npm
abstract Dependency npm(String name, String version)
-
npm
Dependency npm(String name, File directory, Boolean generateExternals)
-
npm
abstract Dependency npm(String name, File directory)
-
npm
Dependency npm(File directory, Boolean generateExternals)
-
npm
abstract Dependency npm(File directory)
-
devNpm
abstract Dependency devNpm(String name, String version)
-
devNpm
abstract Dependency devNpm(String name, File directory)
-
devNpm
abstract Dependency devNpm(File directory)
-
optionalNpm
Dependency optionalNpm(String name, String version, Boolean generateExternals)
-
optionalNpm
abstract Dependency optionalNpm(String name, String version)
-
optionalNpm
Dependency optionalNpm(String name, File directory, Boolean generateExternals)
-
optionalNpm
abstract Dependency optionalNpm(String name, File directory)
-
optionalNpm
Dependency optionalNpm(File directory, Boolean generateExternals)
-
optionalNpm
abstract Dependency optionalNpm(File directory)
-
peerNpm
abstract Dependency peerNpm(String name, String version)
-
getProject
abstract Project getProject()
-
-
-
-