Upload via GUI (4909 Dateien)
This commit is contained in:
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugApi' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugApi`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestDebugApi", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugApi' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugApi`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestDebugApi", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugApi' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugApi`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestDebugApi", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugApi' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugApi`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestDebugApi", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugApi' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugApi`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestDebugApi", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugApi' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestDebugApi`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestDebugApi", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestDebugApi' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestDebugApi`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestDebugApi", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestDebugApi' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestDebugApi`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestDebugApi", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestDebugApi' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestDebugApi`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestDebugApi", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestDebugApi' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestDebugApi`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestDebugApi", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugApiDependenciesMetadata`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestDebugApiDependenciesMetadata", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugApiDependenciesMetadata`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestDebugApiDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugApiDependenciesMetadata`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestDebugApiDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugApiDependenciesMetadata`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestDebugApiDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugApiDependenciesMetadata`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestDebugApiDependenciesMetadata", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestDebugApiDependenciesMetadata`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestDebugApiDependenciesMetadata", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestDebugApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestDebugApiDependenciesMetadata`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestDebugApiDependenciesMetadata", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestDebugApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestDebugApiDependenciesMetadata`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestDebugApiDependenciesMetadata", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestDebugApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestDebugApiDependenciesMetadata`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestDebugApiDependenciesMetadata", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestDebugApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestDebugApiDependenciesMetadata`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestDebugApiDependenciesMetadata", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugCompileOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugCompileOnly`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestDebugCompileOnly", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugCompileOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugCompileOnly`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestDebugCompileOnly", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugCompileOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugCompileOnly`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestDebugCompileOnly", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugCompileOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugCompileOnly`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestDebugCompileOnly", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugCompileOnly' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugCompileOnly`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestDebugCompileOnly", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugCompileOnly' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestDebugCompileOnly`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestDebugCompileOnly", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestDebugCompileOnly' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestDebugCompileOnly`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestDebugCompileOnly", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestDebugCompileOnly' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestDebugCompileOnly`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestDebugCompileOnly", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestDebugCompileOnly' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestDebugCompileOnly`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestDebugCompileOnly", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestDebugCompileOnly' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestDebugCompileOnly`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestDebugCompileOnly", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugCompileOnlyDependenciesMetadata`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestDebugCompileOnlyDependenciesMetadata", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugCompileOnlyDependenciesMetadata`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestDebugCompileOnlyDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugCompileOnlyDependenciesMetadata`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestDebugCompileOnlyDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugCompileOnlyDependenciesMetadata`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestDebugCompileOnlyDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugCompileOnlyDependenciesMetadata`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestDebugCompileOnlyDependenciesMetadata", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestDebugCompileOnlyDependenciesMetadata`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestDebugCompileOnlyDependenciesMetadata", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestDebugCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestDebugCompileOnlyDependenciesMetadata`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestDebugCompileOnlyDependenciesMetadata", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestDebugCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestDebugCompileOnlyDependenciesMetadata`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestDebugCompileOnlyDependenciesMetadata", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestDebugCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestDebugCompileOnlyDependenciesMetadata`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestDebugCompileOnlyDependenciesMetadata", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestDebugCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestDebugCompileOnlyDependenciesMetadata`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestDebugCompileOnlyDependenciesMetadata", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugImplementation' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugImplementation`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestDebugImplementation", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugImplementation' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugImplementation`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestDebugImplementation", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugImplementation' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugImplementation`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestDebugImplementation", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugImplementation' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugImplementation`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestDebugImplementation", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugImplementation' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugImplementation`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestDebugImplementation", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugImplementation' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestDebugImplementation`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestDebugImplementation", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestDebugImplementation' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestDebugImplementation`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestDebugImplementation", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestDebugImplementation' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestDebugImplementation`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestDebugImplementation", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestDebugImplementation' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestDebugImplementation`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestDebugImplementation", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestDebugImplementation' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestDebugImplementation`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestDebugImplementation", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugImplementationDependenciesMetadata`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestDebugImplementationDependenciesMetadata", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugImplementationDependenciesMetadata`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestDebugImplementationDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugImplementationDependenciesMetadata`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestDebugImplementationDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugImplementationDependenciesMetadata`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestDebugImplementationDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugImplementationDependenciesMetadata`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestDebugImplementationDependenciesMetadata", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestDebugImplementationDependenciesMetadata`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestDebugImplementationDependenciesMetadata", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestDebugImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestDebugImplementationDependenciesMetadata`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestDebugImplementationDependenciesMetadata", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestDebugImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestDebugImplementationDependenciesMetadata`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestDebugImplementationDependenciesMetadata", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestDebugImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestDebugImplementationDependenciesMetadata`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestDebugImplementationDependenciesMetadata", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestDebugImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestDebugImplementationDependenciesMetadata`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestDebugImplementationDependenciesMetadata", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugIntransitiveDependenciesMetadata`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestDebugIntransitiveDependenciesMetadata", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugIntransitiveDependenciesMetadata`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestDebugIntransitiveDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugIntransitiveDependenciesMetadata`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestDebugIntransitiveDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugIntransitiveDependenciesMetadata`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestDebugIntransitiveDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugIntransitiveDependenciesMetadata`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestDebugIntransitiveDependenciesMetadata", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestDebugIntransitiveDependenciesMetadata`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestDebugIntransitiveDependenciesMetadata", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestDebugIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestDebugIntransitiveDependenciesMetadata`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestDebugIntransitiveDependenciesMetadata", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestDebugIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestDebugIntransitiveDependenciesMetadata`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestDebugIntransitiveDependenciesMetadata", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestDebugIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestDebugIntransitiveDependenciesMetadata`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestDebugIntransitiveDependenciesMetadata", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestDebugIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestDebugIntransitiveDependenciesMetadata`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestDebugIntransitiveDependenciesMetadata", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugRuntimeOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugRuntimeOnly`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestDebugRuntimeOnly", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugRuntimeOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugRuntimeOnly`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestDebugRuntimeOnly", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugRuntimeOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugRuntimeOnly`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestDebugRuntimeOnly", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugRuntimeOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugRuntimeOnly`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestDebugRuntimeOnly", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugRuntimeOnly' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugRuntimeOnly`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestDebugRuntimeOnly", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugRuntimeOnly' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestDebugRuntimeOnly`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestDebugRuntimeOnly", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestDebugRuntimeOnly' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestDebugRuntimeOnly`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestDebugRuntimeOnly", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestDebugRuntimeOnly' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestDebugRuntimeOnly`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestDebugRuntimeOnly", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestDebugRuntimeOnly' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestDebugRuntimeOnly`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestDebugRuntimeOnly", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestDebugRuntimeOnly' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestDebugRuntimeOnly`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestDebugRuntimeOnly", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugWearApp' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugWearApp`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestDebugWearApp", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugWearApp' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugWearApp`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestDebugWearApp", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugWearApp' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugWearApp`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestDebugWearApp", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugWearApp' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugWearApp`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestDebugWearApp", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugWearApp' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestDebugWearApp`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestDebugWearApp", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestDebugWearApp' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestDebugWearApp`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestDebugWearApp", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestDebugWearApp' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestDebugWearApp`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestDebugWearApp", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestDebugWearApp' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestDebugWearApp`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestDebugWearApp", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestDebugWearApp' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestDebugWearApp`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestDebugWearApp", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestDebugWearApp' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestDebugWearApp`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestDebugWearApp", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestImplementation' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestImplementation`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestImplementation", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestImplementation' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestImplementation`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestImplementation", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestImplementation' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestImplementation`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestImplementation", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestImplementation' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestImplementation`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestImplementation", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestImplementation' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestImplementation`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestImplementation", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestImplementation' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestImplementation`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestImplementation", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestImplementation' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestImplementation`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestImplementation", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestImplementation' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestImplementation`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestImplementation", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestImplementation' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestImplementation`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestImplementation", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestImplementation' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestImplementation`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestImplementation", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestImplementationDependenciesMetadata`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestImplementationDependenciesMetadata", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestImplementationDependenciesMetadata`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestImplementationDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestImplementationDependenciesMetadata`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestImplementationDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestImplementationDependenciesMetadata`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestImplementationDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestImplementationDependenciesMetadata`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestImplementationDependenciesMetadata", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestImplementationDependenciesMetadata`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestImplementationDependenciesMetadata", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestImplementationDependenciesMetadata`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestImplementationDependenciesMetadata", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestImplementationDependenciesMetadata`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestImplementationDependenciesMetadata", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestImplementationDependenciesMetadata`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestImplementationDependenciesMetadata", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestImplementationDependenciesMetadata`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestImplementationDependenciesMetadata", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestIntransitiveDependenciesMetadata`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestIntransitiveDependenciesMetadata", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestIntransitiveDependenciesMetadata`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestIntransitiveDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestIntransitiveDependenciesMetadata`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestIntransitiveDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestIntransitiveDependenciesMetadata`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestIntransitiveDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestIntransitiveDependenciesMetadata`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestIntransitiveDependenciesMetadata", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestIntransitiveDependenciesMetadata`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestIntransitiveDependenciesMetadata", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestIntransitiveDependenciesMetadata`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestIntransitiveDependenciesMetadata", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestIntransitiveDependenciesMetadata`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestIntransitiveDependenciesMetadata", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestIntransitiveDependenciesMetadata`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestIntransitiveDependenciesMetadata", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestIntransitiveDependenciesMetadata`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestIntransitiveDependenciesMetadata", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseAnnotationProcessor' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseAnnotationProcessor`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestReleaseAnnotationProcessor", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseAnnotationProcessor' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseAnnotationProcessor`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestReleaseAnnotationProcessor", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseAnnotationProcessor' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseAnnotationProcessor`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestReleaseAnnotationProcessor", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseAnnotationProcessor' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseAnnotationProcessor`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestReleaseAnnotationProcessor", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseAnnotationProcessor' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseAnnotationProcessor`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestReleaseAnnotationProcessor", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseAnnotationProcessor' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestReleaseAnnotationProcessor`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestReleaseAnnotationProcessor", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestReleaseAnnotationProcessor' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestReleaseAnnotationProcessor`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestReleaseAnnotationProcessor", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestReleaseAnnotationProcessor' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestReleaseAnnotationProcessor`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestReleaseAnnotationProcessor", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestReleaseAnnotationProcessor' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestReleaseAnnotationProcessor`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestReleaseAnnotationProcessor", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestReleaseAnnotationProcessor' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestReleaseAnnotationProcessor`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestReleaseAnnotationProcessor", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseApi' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseApi`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestReleaseApi", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseApi' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseApi`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestReleaseApi", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseApi' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseApi`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestReleaseApi", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseApi' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseApi`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestReleaseApi", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseApi' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseApi`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestReleaseApi", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseApi' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestReleaseApi`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestReleaseApi", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestReleaseApi' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestReleaseApi`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestReleaseApi", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestReleaseApi' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestReleaseApi`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestReleaseApi", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestReleaseApi' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestReleaseApi`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestReleaseApi", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestReleaseApi' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestReleaseApi`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestReleaseApi", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseApiDependenciesMetadata`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestReleaseApiDependenciesMetadata", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseApiDependenciesMetadata`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestReleaseApiDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseApiDependenciesMetadata`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestReleaseApiDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseApiDependenciesMetadata`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestReleaseApiDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseApiDependenciesMetadata`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestReleaseApiDependenciesMetadata", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestReleaseApiDependenciesMetadata`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestReleaseApiDependenciesMetadata", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestReleaseApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestReleaseApiDependenciesMetadata`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestReleaseApiDependenciesMetadata", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestReleaseApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestReleaseApiDependenciesMetadata`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestReleaseApiDependenciesMetadata", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestReleaseApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestReleaseApiDependenciesMetadata`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestReleaseApiDependenciesMetadata", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestReleaseApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestReleaseApiDependenciesMetadata`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestReleaseApiDependenciesMetadata", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseCompileOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseCompileOnly`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestReleaseCompileOnly", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseCompileOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseCompileOnly`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestReleaseCompileOnly", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseCompileOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseCompileOnly`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestReleaseCompileOnly", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseCompileOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseCompileOnly`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestReleaseCompileOnly", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseCompileOnly' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseCompileOnly`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestReleaseCompileOnly", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseCompileOnly' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestReleaseCompileOnly`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestReleaseCompileOnly", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestReleaseCompileOnly' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestReleaseCompileOnly`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestReleaseCompileOnly", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestReleaseCompileOnly' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestReleaseCompileOnly`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestReleaseCompileOnly", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestReleaseCompileOnly' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestReleaseCompileOnly`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestReleaseCompileOnly", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestReleaseCompileOnly' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestReleaseCompileOnly`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestReleaseCompileOnly", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseCompileOnlyDependenciesMetadata`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestReleaseCompileOnlyDependenciesMetadata", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseCompileOnlyDependenciesMetadata`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestReleaseCompileOnlyDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseCompileOnlyDependenciesMetadata`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestReleaseCompileOnlyDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseCompileOnlyDependenciesMetadata`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestReleaseCompileOnlyDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseCompileOnlyDependenciesMetadata`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestReleaseCompileOnlyDependenciesMetadata", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestReleaseCompileOnlyDependenciesMetadata`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestReleaseCompileOnlyDependenciesMetadata", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestReleaseCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestReleaseCompileOnlyDependenciesMetadata`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestReleaseCompileOnlyDependenciesMetadata", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestReleaseCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestReleaseCompileOnlyDependenciesMetadata`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestReleaseCompileOnlyDependenciesMetadata", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestReleaseCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestReleaseCompileOnlyDependenciesMetadata`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestReleaseCompileOnlyDependenciesMetadata", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestReleaseCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestReleaseCompileOnlyDependenciesMetadata`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestReleaseCompileOnlyDependenciesMetadata", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseImplementation' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseImplementation`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestReleaseImplementation", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseImplementation' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseImplementation`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestReleaseImplementation", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseImplementation' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseImplementation`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestReleaseImplementation", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseImplementation' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseImplementation`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestReleaseImplementation", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseImplementation' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseImplementation`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestReleaseImplementation", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseImplementation' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestReleaseImplementation`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestReleaseImplementation", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestReleaseImplementation' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestReleaseImplementation`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestReleaseImplementation", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestReleaseImplementation' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestReleaseImplementation`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestReleaseImplementation", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestReleaseImplementation' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestReleaseImplementation`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestReleaseImplementation", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestReleaseImplementation' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestReleaseImplementation`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestReleaseImplementation", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseImplementationDependenciesMetadata`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestReleaseImplementationDependenciesMetadata", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseImplementationDependenciesMetadata`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestReleaseImplementationDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseImplementationDependenciesMetadata`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestReleaseImplementationDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseImplementationDependenciesMetadata`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestReleaseImplementationDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseImplementationDependenciesMetadata`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestReleaseImplementationDependenciesMetadata", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestReleaseImplementationDependenciesMetadata`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestReleaseImplementationDependenciesMetadata", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestReleaseImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestReleaseImplementationDependenciesMetadata`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestReleaseImplementationDependenciesMetadata", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestReleaseImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestReleaseImplementationDependenciesMetadata`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestReleaseImplementationDependenciesMetadata", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestReleaseImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestReleaseImplementationDependenciesMetadata`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestReleaseImplementationDependenciesMetadata", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestReleaseImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestReleaseImplementationDependenciesMetadata`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestReleaseImplementationDependenciesMetadata", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseIntransitiveDependenciesMetadata`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestReleaseIntransitiveDependenciesMetadata", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseIntransitiveDependenciesMetadata`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestReleaseIntransitiveDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseIntransitiveDependenciesMetadata`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestReleaseIntransitiveDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseIntransitiveDependenciesMetadata`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestReleaseIntransitiveDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseIntransitiveDependenciesMetadata`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestReleaseIntransitiveDependenciesMetadata", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestReleaseIntransitiveDependenciesMetadata`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestReleaseIntransitiveDependenciesMetadata", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestReleaseIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestReleaseIntransitiveDependenciesMetadata`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestReleaseIntransitiveDependenciesMetadata", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestReleaseIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestReleaseIntransitiveDependenciesMetadata`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestReleaseIntransitiveDependenciesMetadata", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestReleaseIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestReleaseIntransitiveDependenciesMetadata`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestReleaseIntransitiveDependenciesMetadata", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestReleaseIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestReleaseIntransitiveDependenciesMetadata`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestReleaseIntransitiveDependenciesMetadata", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseRuntimeOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseRuntimeOnly`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestReleaseRuntimeOnly", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseRuntimeOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseRuntimeOnly`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestReleaseRuntimeOnly", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseRuntimeOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseRuntimeOnly`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestReleaseRuntimeOnly", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseRuntimeOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseRuntimeOnly`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestReleaseRuntimeOnly", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseRuntimeOnly' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseRuntimeOnly`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestReleaseRuntimeOnly", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseRuntimeOnly' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestReleaseRuntimeOnly`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestReleaseRuntimeOnly", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestReleaseRuntimeOnly' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestReleaseRuntimeOnly`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestReleaseRuntimeOnly", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestReleaseRuntimeOnly' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestReleaseRuntimeOnly`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestReleaseRuntimeOnly", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestReleaseRuntimeOnly' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestReleaseRuntimeOnly`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestReleaseRuntimeOnly", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestReleaseRuntimeOnly' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestReleaseRuntimeOnly`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestReleaseRuntimeOnly", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseWearApp' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseWearApp`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestReleaseWearApp", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseWearApp' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseWearApp`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestReleaseWearApp", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseWearApp' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseWearApp`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestReleaseWearApp", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseWearApp' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseWearApp`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestReleaseWearApp", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseWearApp' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestReleaseWearApp`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestReleaseWearApp", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestReleaseWearApp' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestReleaseWearApp`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestReleaseWearApp", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestReleaseWearApp' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestReleaseWearApp`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestReleaseWearApp", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestReleaseWearApp' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestReleaseWearApp`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestReleaseWearApp", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestReleaseWearApp' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestReleaseWearApp`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestReleaseWearApp", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestReleaseWearApp' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestReleaseWearApp`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestReleaseWearApp", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestRuntimeOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestRuntimeOnly`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestRuntimeOnly", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestRuntimeOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestRuntimeOnly`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestRuntimeOnly", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestRuntimeOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestRuntimeOnly`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestRuntimeOnly", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestRuntimeOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestRuntimeOnly`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestRuntimeOnly", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestRuntimeOnly' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestRuntimeOnly`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestRuntimeOnly", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestRuntimeOnly' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestRuntimeOnly`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestRuntimeOnly", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestRuntimeOnly' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestRuntimeOnly`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestRuntimeOnly", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestRuntimeOnly' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestRuntimeOnly`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestRuntimeOnly", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestRuntimeOnly' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestRuntimeOnly`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestRuntimeOnly", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestRuntimeOnly' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestRuntimeOnly`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestRuntimeOnly", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestUtil' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestUtil`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestUtil", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestUtil' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestUtil`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestUtil", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestUtil' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestUtil`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestUtil", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestUtil' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestUtil`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestUtil", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestUtil' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestUtil`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestUtil", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestUtil' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestUtil`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestUtil", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestUtil' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestUtil`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestUtil", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestUtil' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestUtil`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestUtil", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestUtil' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestUtil`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestUtil", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestUtil' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestUtil`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestUtil", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestWearApp' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestWearApp`(dependencyNotation: Any): Dependency? =
|
||||
add("androidTestWearApp", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestWearApp' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestWearApp`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "androidTestWearApp", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestWearApp' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestWearApp`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestWearApp", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestWearApp' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestWearApp`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "androidTestWearApp", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestWearApp' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`androidTestWearApp`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "androidTestWearApp", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'androidTestWearApp' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`androidTestWearApp`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("androidTestWearApp", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestWearApp' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestWearApp`(constraintNotation: Any): DependencyConstraint =
|
||||
add("androidTestWearApp", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'androidTestWearApp' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`androidTestWearApp`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("androidTestWearApp", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestWearApp' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestWearApp`(artifactNotation: Any): PublishArtifact =
|
||||
add("androidTestWearApp", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'androidTestWearApp' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`androidTestWearApp`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("androidTestWearApp", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'annotationProcessor' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`annotationProcessor`(dependencyNotation: Any): Dependency? =
|
||||
add("annotationProcessor", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'annotationProcessor' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`annotationProcessor`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "annotationProcessor", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'annotationProcessor' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`annotationProcessor`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "annotationProcessor", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'annotationProcessor' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`annotationProcessor`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "annotationProcessor", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'annotationProcessor' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`annotationProcessor`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "annotationProcessor", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'annotationProcessor' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`annotationProcessor`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("annotationProcessor", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'annotationProcessor' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`annotationProcessor`(constraintNotation: Any): DependencyConstraint =
|
||||
add("annotationProcessor", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'annotationProcessor' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`annotationProcessor`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("annotationProcessor", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'annotationProcessor' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`annotationProcessor`(artifactNotation: Any): PublishArtifact =
|
||||
add("annotationProcessor", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'annotationProcessor' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`annotationProcessor`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("annotationProcessor", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'api' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`api`(dependencyNotation: Any): Dependency? =
|
||||
add("api", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'api' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`api`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "api", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'api' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`api`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "api", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'api' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`api`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "api", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'api' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`api`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "api", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'api' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`api`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("api", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'api' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`api`(constraintNotation: Any): DependencyConstraint =
|
||||
add("api", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'api' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`api`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("api", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'api' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`api`(artifactNotation: Any): PublishArtifact =
|
||||
add("api", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'api' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`api`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("api", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'apiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`apiDependenciesMetadata`(dependencyNotation: Any): Dependency? =
|
||||
add("apiDependenciesMetadata", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'apiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`apiDependenciesMetadata`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "apiDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'apiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`apiDependenciesMetadata`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "apiDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'apiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`apiDependenciesMetadata`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "apiDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'apiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`apiDependenciesMetadata`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "apiDependenciesMetadata", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'apiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`apiDependenciesMetadata`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("apiDependenciesMetadata", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'apiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`apiDependenciesMetadata`(constraintNotation: Any): DependencyConstraint =
|
||||
add("apiDependenciesMetadata", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'apiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`apiDependenciesMetadata`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("apiDependenciesMetadata", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'apiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`apiDependenciesMetadata`(artifactNotation: Any): PublishArtifact =
|
||||
add("apiDependenciesMetadata", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'apiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`apiDependenciesMetadata`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("apiDependenciesMetadata", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'archives' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`archives`(dependencyNotation: Any): Dependency? =
|
||||
add("archives", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'archives' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`archives`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "archives", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'archives' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`archives`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "archives", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'archives' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`archives`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "archives", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'archives' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`archives`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "archives", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'archives' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`archives`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("archives", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'archives' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`archives`(constraintNotation: Any): DependencyConstraint =
|
||||
add("archives", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'archives' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`archives`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("archives", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'archives' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`archives`(artifactNotation: Any): PublishArtifact =
|
||||
add("archives", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'archives' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`archives`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("archives", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'compileOnlyApi' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`compileOnlyApi`(dependencyNotation: Any): Dependency? =
|
||||
add("compileOnlyApi", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'compileOnlyApi' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`compileOnlyApi`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "compileOnlyApi", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'compileOnlyApi' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`compileOnlyApi`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "compileOnlyApi", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'compileOnlyApi' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`compileOnlyApi`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "compileOnlyApi", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'compileOnlyApi' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`compileOnlyApi`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "compileOnlyApi", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'compileOnlyApi' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`compileOnlyApi`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("compileOnlyApi", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'compileOnlyApi' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`compileOnlyApi`(constraintNotation: Any): DependencyConstraint =
|
||||
add("compileOnlyApi", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'compileOnlyApi' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`compileOnlyApi`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("compileOnlyApi", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'compileOnlyApi' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`compileOnlyApi`(artifactNotation: Any): PublishArtifact =
|
||||
add("compileOnlyApi", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'compileOnlyApi' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`compileOnlyApi`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("compileOnlyApi", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'compileOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`compileOnly`(dependencyNotation: Any): Dependency? =
|
||||
add("compileOnly", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'compileOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`compileOnly`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "compileOnly", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'compileOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`compileOnly`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "compileOnly", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'compileOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`compileOnly`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "compileOnly", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'compileOnly' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`compileOnly`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "compileOnly", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'compileOnly' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`compileOnly`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("compileOnly", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'compileOnly' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`compileOnly`(constraintNotation: Any): DependencyConstraint =
|
||||
add("compileOnly", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'compileOnly' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`compileOnly`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("compileOnly", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'compileOnly' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`compileOnly`(artifactNotation: Any): PublishArtifact =
|
||||
add("compileOnly", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'compileOnly' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`compileOnly`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("compileOnly", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'compileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`compileOnlyDependenciesMetadata`(dependencyNotation: Any): Dependency? =
|
||||
add("compileOnlyDependenciesMetadata", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'compileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`compileOnlyDependenciesMetadata`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "compileOnlyDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'compileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`compileOnlyDependenciesMetadata`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "compileOnlyDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'compileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`compileOnlyDependenciesMetadata`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "compileOnlyDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'compileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`compileOnlyDependenciesMetadata`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "compileOnlyDependenciesMetadata", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'compileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`compileOnlyDependenciesMetadata`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("compileOnlyDependenciesMetadata", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'compileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`compileOnlyDependenciesMetadata`(constraintNotation: Any): DependencyConstraint =
|
||||
add("compileOnlyDependenciesMetadata", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'compileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`compileOnlyDependenciesMetadata`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("compileOnlyDependenciesMetadata", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'compileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`compileOnlyDependenciesMetadata`(artifactNotation: Any): PublishArtifact =
|
||||
add("compileOnlyDependenciesMetadata", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'compileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`compileOnlyDependenciesMetadata`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("compileOnlyDependenciesMetadata", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'coreLibraryDesugaring' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`coreLibraryDesugaring`(dependencyNotation: Any): Dependency? =
|
||||
add("coreLibraryDesugaring", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'coreLibraryDesugaring' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`coreLibraryDesugaring`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "coreLibraryDesugaring", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'coreLibraryDesugaring' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`coreLibraryDesugaring`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "coreLibraryDesugaring", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'coreLibraryDesugaring' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`coreLibraryDesugaring`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "coreLibraryDesugaring", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'coreLibraryDesugaring' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`coreLibraryDesugaring`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "coreLibraryDesugaring", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'coreLibraryDesugaring' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`coreLibraryDesugaring`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("coreLibraryDesugaring", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'coreLibraryDesugaring' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`coreLibraryDesugaring`(constraintNotation: Any): DependencyConstraint =
|
||||
add("coreLibraryDesugaring", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'coreLibraryDesugaring' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`coreLibraryDesugaring`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("coreLibraryDesugaring", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'coreLibraryDesugaring' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`coreLibraryDesugaring`(artifactNotation: Any): PublishArtifact =
|
||||
add("coreLibraryDesugaring", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'coreLibraryDesugaring' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`coreLibraryDesugaring`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("coreLibraryDesugaring", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugAnnotationProcessor' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugAnnotationProcessor`(dependencyNotation: Any): Dependency? =
|
||||
add("debugAnnotationProcessor", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugAnnotationProcessor' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugAnnotationProcessor`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "debugAnnotationProcessor", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugAnnotationProcessor' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugAnnotationProcessor`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "debugAnnotationProcessor", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugAnnotationProcessor' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugAnnotationProcessor`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "debugAnnotationProcessor", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugAnnotationProcessor' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugAnnotationProcessor`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "debugAnnotationProcessor", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugAnnotationProcessor' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`debugAnnotationProcessor`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("debugAnnotationProcessor", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'debugAnnotationProcessor' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`debugAnnotationProcessor`(constraintNotation: Any): DependencyConstraint =
|
||||
add("debugAnnotationProcessor", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'debugAnnotationProcessor' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`debugAnnotationProcessor`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("debugAnnotationProcessor", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'debugAnnotationProcessor' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`debugAnnotationProcessor`(artifactNotation: Any): PublishArtifact =
|
||||
add("debugAnnotationProcessor", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'debugAnnotationProcessor' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`debugAnnotationProcessor`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("debugAnnotationProcessor", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugApi' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugApi`(dependencyNotation: Any): Dependency? =
|
||||
add("debugApi", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugApi' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugApi`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "debugApi", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugApi' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugApi`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "debugApi", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugApi' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugApi`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "debugApi", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugApi' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugApi`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "debugApi", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugApi' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`debugApi`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("debugApi", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'debugApi' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`debugApi`(constraintNotation: Any): DependencyConstraint =
|
||||
add("debugApi", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'debugApi' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`debugApi`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("debugApi", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'debugApi' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`debugApi`(artifactNotation: Any): PublishArtifact =
|
||||
add("debugApi", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'debugApi' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`debugApi`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("debugApi", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugApiDependenciesMetadata`(dependencyNotation: Any): Dependency? =
|
||||
add("debugApiDependenciesMetadata", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugApiDependenciesMetadata`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "debugApiDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugApiDependenciesMetadata`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "debugApiDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugApiDependenciesMetadata`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "debugApiDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugApiDependenciesMetadata`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "debugApiDependenciesMetadata", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`debugApiDependenciesMetadata`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("debugApiDependenciesMetadata", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'debugApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`debugApiDependenciesMetadata`(constraintNotation: Any): DependencyConstraint =
|
||||
add("debugApiDependenciesMetadata", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'debugApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`debugApiDependenciesMetadata`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("debugApiDependenciesMetadata", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'debugApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`debugApiDependenciesMetadata`(artifactNotation: Any): PublishArtifact =
|
||||
add("debugApiDependenciesMetadata", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'debugApiDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`debugApiDependenciesMetadata`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("debugApiDependenciesMetadata", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugCompileOnlyApi' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugCompileOnlyApi`(dependencyNotation: Any): Dependency? =
|
||||
add("debugCompileOnlyApi", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugCompileOnlyApi' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugCompileOnlyApi`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "debugCompileOnlyApi", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugCompileOnlyApi' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugCompileOnlyApi`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "debugCompileOnlyApi", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugCompileOnlyApi' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugCompileOnlyApi`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "debugCompileOnlyApi", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugCompileOnlyApi' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugCompileOnlyApi`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "debugCompileOnlyApi", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugCompileOnlyApi' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`debugCompileOnlyApi`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("debugCompileOnlyApi", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'debugCompileOnlyApi' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`debugCompileOnlyApi`(constraintNotation: Any): DependencyConstraint =
|
||||
add("debugCompileOnlyApi", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'debugCompileOnlyApi' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`debugCompileOnlyApi`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("debugCompileOnlyApi", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'debugCompileOnlyApi' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`debugCompileOnlyApi`(artifactNotation: Any): PublishArtifact =
|
||||
add("debugCompileOnlyApi", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'debugCompileOnlyApi' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`debugCompileOnlyApi`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("debugCompileOnlyApi", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugCompileOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugCompileOnly`(dependencyNotation: Any): Dependency? =
|
||||
add("debugCompileOnly", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugCompileOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugCompileOnly`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "debugCompileOnly", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugCompileOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugCompileOnly`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "debugCompileOnly", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugCompileOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugCompileOnly`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "debugCompileOnly", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugCompileOnly' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugCompileOnly`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "debugCompileOnly", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugCompileOnly' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`debugCompileOnly`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("debugCompileOnly", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'debugCompileOnly' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`debugCompileOnly`(constraintNotation: Any): DependencyConstraint =
|
||||
add("debugCompileOnly", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'debugCompileOnly' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`debugCompileOnly`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("debugCompileOnly", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'debugCompileOnly' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`debugCompileOnly`(artifactNotation: Any): PublishArtifact =
|
||||
add("debugCompileOnly", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'debugCompileOnly' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`debugCompileOnly`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("debugCompileOnly", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugCompileOnlyDependenciesMetadata`(dependencyNotation: Any): Dependency? =
|
||||
add("debugCompileOnlyDependenciesMetadata", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugCompileOnlyDependenciesMetadata`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "debugCompileOnlyDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugCompileOnlyDependenciesMetadata`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "debugCompileOnlyDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugCompileOnlyDependenciesMetadata`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "debugCompileOnlyDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugCompileOnlyDependenciesMetadata`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "debugCompileOnlyDependenciesMetadata", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`debugCompileOnlyDependenciesMetadata`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("debugCompileOnlyDependenciesMetadata", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'debugCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`debugCompileOnlyDependenciesMetadata`(constraintNotation: Any): DependencyConstraint =
|
||||
add("debugCompileOnlyDependenciesMetadata", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'debugCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`debugCompileOnlyDependenciesMetadata`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("debugCompileOnlyDependenciesMetadata", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'debugCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`debugCompileOnlyDependenciesMetadata`(artifactNotation: Any): PublishArtifact =
|
||||
add("debugCompileOnlyDependenciesMetadata", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'debugCompileOnlyDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`debugCompileOnlyDependenciesMetadata`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("debugCompileOnlyDependenciesMetadata", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugImplementation' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugImplementation`(dependencyNotation: Any): Dependency? =
|
||||
add("debugImplementation", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugImplementation' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugImplementation`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "debugImplementation", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugImplementation' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugImplementation`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "debugImplementation", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugImplementation' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugImplementation`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "debugImplementation", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugImplementation' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugImplementation`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "debugImplementation", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugImplementation' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`debugImplementation`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("debugImplementation", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'debugImplementation' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`debugImplementation`(constraintNotation: Any): DependencyConstraint =
|
||||
add("debugImplementation", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'debugImplementation' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`debugImplementation`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("debugImplementation", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'debugImplementation' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`debugImplementation`(artifactNotation: Any): PublishArtifact =
|
||||
add("debugImplementation", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'debugImplementation' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`debugImplementation`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("debugImplementation", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugImplementationDependenciesMetadata`(dependencyNotation: Any): Dependency? =
|
||||
add("debugImplementationDependenciesMetadata", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugImplementationDependenciesMetadata`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "debugImplementationDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugImplementationDependenciesMetadata`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "debugImplementationDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugImplementationDependenciesMetadata`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "debugImplementationDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugImplementationDependenciesMetadata`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "debugImplementationDependenciesMetadata", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`debugImplementationDependenciesMetadata`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("debugImplementationDependenciesMetadata", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'debugImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`debugImplementationDependenciesMetadata`(constraintNotation: Any): DependencyConstraint =
|
||||
add("debugImplementationDependenciesMetadata", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'debugImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`debugImplementationDependenciesMetadata`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("debugImplementationDependenciesMetadata", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'debugImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`debugImplementationDependenciesMetadata`(artifactNotation: Any): PublishArtifact =
|
||||
add("debugImplementationDependenciesMetadata", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'debugImplementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`debugImplementationDependenciesMetadata`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("debugImplementationDependenciesMetadata", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugIntransitiveDependenciesMetadata`(dependencyNotation: Any): Dependency? =
|
||||
add("debugIntransitiveDependenciesMetadata", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugIntransitiveDependenciesMetadata`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "debugIntransitiveDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugIntransitiveDependenciesMetadata`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "debugIntransitiveDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugIntransitiveDependenciesMetadata`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "debugIntransitiveDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugIntransitiveDependenciesMetadata`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "debugIntransitiveDependenciesMetadata", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`debugIntransitiveDependenciesMetadata`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("debugIntransitiveDependenciesMetadata", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'debugIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`debugIntransitiveDependenciesMetadata`(constraintNotation: Any): DependencyConstraint =
|
||||
add("debugIntransitiveDependenciesMetadata", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'debugIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`debugIntransitiveDependenciesMetadata`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("debugIntransitiveDependenciesMetadata", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'debugIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`debugIntransitiveDependenciesMetadata`(artifactNotation: Any): PublishArtifact =
|
||||
add("debugIntransitiveDependenciesMetadata", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'debugIntransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`debugIntransitiveDependenciesMetadata`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("debugIntransitiveDependenciesMetadata", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugRuntimeOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugRuntimeOnly`(dependencyNotation: Any): Dependency? =
|
||||
add("debugRuntimeOnly", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugRuntimeOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugRuntimeOnly`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "debugRuntimeOnly", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugRuntimeOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugRuntimeOnly`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "debugRuntimeOnly", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugRuntimeOnly' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugRuntimeOnly`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "debugRuntimeOnly", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugRuntimeOnly' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugRuntimeOnly`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "debugRuntimeOnly", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugRuntimeOnly' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`debugRuntimeOnly`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("debugRuntimeOnly", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'debugRuntimeOnly' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`debugRuntimeOnly`(constraintNotation: Any): DependencyConstraint =
|
||||
add("debugRuntimeOnly", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'debugRuntimeOnly' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`debugRuntimeOnly`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("debugRuntimeOnly", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'debugRuntimeOnly' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`debugRuntimeOnly`(artifactNotation: Any): PublishArtifact =
|
||||
add("debugRuntimeOnly", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'debugRuntimeOnly' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`debugRuntimeOnly`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("debugRuntimeOnly", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugWearApp' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugWearApp`(dependencyNotation: Any): Dependency? =
|
||||
add("debugWearApp", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugWearApp' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugWearApp`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "debugWearApp", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugWearApp' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugWearApp`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "debugWearApp", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugWearApp' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugWearApp`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "debugWearApp", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugWearApp' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`debugWearApp`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "debugWearApp", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'debugWearApp' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`debugWearApp`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("debugWearApp", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'debugWearApp' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`debugWearApp`(constraintNotation: Any): DependencyConstraint =
|
||||
add("debugWearApp", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'debugWearApp' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`debugWearApp`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("debugWearApp", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'debugWearApp' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`debugWearApp`(artifactNotation: Any): PublishArtifact =
|
||||
add("debugWearApp", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'debugWearApp' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`debugWearApp`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("debugWearApp", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'default' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`default`(dependencyNotation: Any): Dependency? =
|
||||
add("default", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'default' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`default`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "default", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'default' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`default`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "default", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'default' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`default`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "default", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'default' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`default`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "default", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'default' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`default`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("default", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'default' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`default`(constraintNotation: Any): DependencyConstraint =
|
||||
add("default", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'default' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`default`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("default", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'default' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`default`(artifactNotation: Any): PublishArtifact =
|
||||
add("default", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'default' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`default`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("default", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'implementation' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`implementation`(dependencyNotation: Any): Dependency? =
|
||||
add("implementation", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'implementation' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`implementation`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "implementation", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'implementation' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`implementation`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "implementation", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'implementation' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`implementation`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "implementation", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'implementation' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`implementation`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "implementation", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'implementation' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`implementation`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("implementation", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'implementation' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`implementation`(constraintNotation: Any): DependencyConstraint =
|
||||
add("implementation", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'implementation' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`implementation`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("implementation", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'implementation' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`implementation`(artifactNotation: Any): PublishArtifact =
|
||||
add("implementation", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'implementation' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`implementation`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("implementation", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'implementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`implementationDependenciesMetadata`(dependencyNotation: Any): Dependency? =
|
||||
add("implementationDependenciesMetadata", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'implementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`implementationDependenciesMetadata`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "implementationDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'implementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`implementationDependenciesMetadata`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "implementationDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'implementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`implementationDependenciesMetadata`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "implementationDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'implementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`implementationDependenciesMetadata`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "implementationDependenciesMetadata", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'implementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`implementationDependenciesMetadata`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("implementationDependenciesMetadata", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'implementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`implementationDependenciesMetadata`(constraintNotation: Any): DependencyConstraint =
|
||||
add("implementationDependenciesMetadata", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'implementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`implementationDependenciesMetadata`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("implementationDependenciesMetadata", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'implementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`implementationDependenciesMetadata`(artifactNotation: Any): PublishArtifact =
|
||||
add("implementationDependenciesMetadata", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'implementationDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`implementationDependenciesMetadata`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("implementationDependenciesMetadata", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'intransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`intransitiveDependenciesMetadata`(dependencyNotation: Any): Dependency? =
|
||||
add("intransitiveDependenciesMetadata", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'intransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`intransitiveDependenciesMetadata`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "intransitiveDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'intransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`intransitiveDependenciesMetadata`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "intransitiveDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'intransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`intransitiveDependenciesMetadata`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "intransitiveDependenciesMetadata", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'intransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`intransitiveDependenciesMetadata`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "intransitiveDependenciesMetadata", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'intransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`intransitiveDependenciesMetadata`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("intransitiveDependenciesMetadata", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'intransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`intransitiveDependenciesMetadata`(constraintNotation: Any): DependencyConstraint =
|
||||
add("intransitiveDependenciesMetadata", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'intransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`intransitiveDependenciesMetadata`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("intransitiveDependenciesMetadata", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'intransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`intransitiveDependenciesMetadata`(artifactNotation: Any): PublishArtifact =
|
||||
add("intransitiveDependenciesMetadata", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'intransitiveDependenciesMetadata' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`intransitiveDependenciesMetadata`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("intransitiveDependenciesMetadata", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'kotlinBuildToolsApiClasspath' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`kotlinBuildToolsApiClasspath`(dependencyNotation: Any): Dependency? =
|
||||
add("kotlinBuildToolsApiClasspath", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'kotlinBuildToolsApiClasspath' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`kotlinBuildToolsApiClasspath`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "kotlinBuildToolsApiClasspath", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'kotlinBuildToolsApiClasspath' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`kotlinBuildToolsApiClasspath`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "kotlinBuildToolsApiClasspath", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'kotlinBuildToolsApiClasspath' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`kotlinBuildToolsApiClasspath`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "kotlinBuildToolsApiClasspath", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'kotlinBuildToolsApiClasspath' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`kotlinBuildToolsApiClasspath`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "kotlinBuildToolsApiClasspath", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'kotlinBuildToolsApiClasspath' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`kotlinBuildToolsApiClasspath`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("kotlinBuildToolsApiClasspath", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'kotlinBuildToolsApiClasspath' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`kotlinBuildToolsApiClasspath`(constraintNotation: Any): DependencyConstraint =
|
||||
add("kotlinBuildToolsApiClasspath", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'kotlinBuildToolsApiClasspath' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`kotlinBuildToolsApiClasspath`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("kotlinBuildToolsApiClasspath", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'kotlinBuildToolsApiClasspath' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`kotlinBuildToolsApiClasspath`(artifactNotation: Any): PublishArtifact =
|
||||
add("kotlinBuildToolsApiClasspath", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'kotlinBuildToolsApiClasspath' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`kotlinBuildToolsApiClasspath`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("kotlinBuildToolsApiClasspath", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
|
||||
/*
|
||||
* Copyright 2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"unused",
|
||||
"nothing_to_inline",
|
||||
"useless_cast",
|
||||
"unchecked_cast",
|
||||
"extension_shadowed_by_member",
|
||||
"redundant_projection",
|
||||
"RemoveRedundantBackticks",
|
||||
"ObjectPropertyName",
|
||||
"deprecation"
|
||||
)
|
||||
@file:org.gradle.api.Generated
|
||||
|
||||
/* ktlint-disable */
|
||||
|
||||
package org.gradle.kotlin.dsl
|
||||
|
||||
|
||||
import org.gradle.api.Action
|
||||
import org.gradle.api.Incubating
|
||||
import org.gradle.api.NamedDomainObjectProvider
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.artifacts.Configuration
|
||||
import org.gradle.api.artifacts.ConfigurablePublishArtifact
|
||||
import org.gradle.api.artifacts.ConfigurationContainer
|
||||
import org.gradle.api.artifacts.Dependency
|
||||
import org.gradle.api.artifacts.DependencyConstraint
|
||||
import org.gradle.api.artifacts.ExternalModuleDependency
|
||||
import org.gradle.api.artifacts.ModuleDependency
|
||||
import org.gradle.api.artifacts.PublishArtifact
|
||||
import org.gradle.api.artifacts.dsl.ArtifactHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
|
||||
import org.gradle.api.artifacts.dsl.DependencyHandler
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.api.provider.ProviderConvertible
|
||||
import org.gradle.api.tasks.TaskContainer
|
||||
import org.gradle.api.tasks.TaskProvider
|
||||
|
||||
import org.gradle.kotlin.dsl.*
|
||||
import org.gradle.kotlin.dsl.accessors.runtime.*
|
||||
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'kotlinCompilerClasspath' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`kotlinCompilerClasspath`(dependencyNotation: Any): Dependency? =
|
||||
add("kotlinCompilerClasspath", dependencyNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'kotlinCompilerClasspath' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`kotlinCompilerClasspath`(
|
||||
dependencyNotation: String,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): ExternalModuleDependency = addDependencyTo(
|
||||
this, "kotlinCompilerClasspath", dependencyNotation, dependencyConfiguration
|
||||
) as ExternalModuleDependency
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'kotlinCompilerClasspath' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`kotlinCompilerClasspath`(
|
||||
dependencyNotation: Provider<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "kotlinCompilerClasspath", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'kotlinCompilerClasspath' configuration.
|
||||
*
|
||||
* @param dependencyNotation notation for the dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`kotlinCompilerClasspath`(
|
||||
dependencyNotation: ProviderConvertible<*>,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>
|
||||
): Unit = addConfiguredDependencyTo(
|
||||
this, "kotlinCompilerClasspath", dependencyNotation, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'kotlinCompilerClasspath' configuration.
|
||||
*
|
||||
* @param group the group of the module to be added as a dependency.
|
||||
* @param name the name of the module to be added as a dependency.
|
||||
* @param version the optional version of the module to be added as a dependency.
|
||||
* @param configuration the optional configuration of the module to be added as a dependency.
|
||||
* @param classifier the optional classifier of the module artifact to be added as a dependency.
|
||||
* @param ext the optional extension of the module artifact to be added as a dependency.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.create]
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun DependencyHandler.`kotlinCompilerClasspath`(
|
||||
group: String,
|
||||
name: String,
|
||||
version: String? = null,
|
||||
configuration: String? = null,
|
||||
classifier: String? = null,
|
||||
ext: String? = null,
|
||||
dependencyConfiguration: Action<ExternalModuleDependency>? = null
|
||||
): ExternalModuleDependency = addExternalModuleDependencyTo(
|
||||
this, "kotlinCompilerClasspath", group, name, version, configuration, classifier, ext, dependencyConfiguration
|
||||
)
|
||||
|
||||
/**
|
||||
* Adds a dependency to the 'kotlinCompilerClasspath' configuration.
|
||||
*
|
||||
* @param dependency dependency to be added.
|
||||
* @param dependencyConfiguration expression to use to configure the dependency.
|
||||
* @return The dependency.
|
||||
*
|
||||
* @see [DependencyHandler.add]
|
||||
*/
|
||||
fun <T : ModuleDependency> DependencyHandler.`kotlinCompilerClasspath`(
|
||||
dependency: T,
|
||||
dependencyConfiguration: T.() -> Unit
|
||||
): T = add("kotlinCompilerClasspath", dependency, dependencyConfiguration)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'kotlinCompilerClasspath' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`kotlinCompilerClasspath`(constraintNotation: Any): DependencyConstraint =
|
||||
add("kotlinCompilerClasspath", constraintNotation)
|
||||
|
||||
/**
|
||||
* Adds a dependency constraint to the 'kotlinCompilerClasspath' configuration.
|
||||
*
|
||||
* @param constraintNotation the dependency constraint notation
|
||||
* @param block the block to use to configure the dependency constraint
|
||||
*
|
||||
* @return the added dependency constraint
|
||||
*
|
||||
* @see [DependencyConstraintHandler.add]
|
||||
*/
|
||||
fun DependencyConstraintHandler.`kotlinCompilerClasspath`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint =
|
||||
add("kotlinCompilerClasspath", constraintNotation, block)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'kotlinCompilerClasspath' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`kotlinCompilerClasspath`(artifactNotation: Any): PublishArtifact =
|
||||
add("kotlinCompilerClasspath", artifactNotation)
|
||||
|
||||
/**
|
||||
* Adds an artifact to the 'kotlinCompilerClasspath' configuration.
|
||||
*
|
||||
* @param artifactNotation the group of the module to be added as a dependency.
|
||||
* @param configureAction The action to execute to configure the artifact.
|
||||
* @return The artifact.
|
||||
*
|
||||
* @see [ArtifactHandler.add]
|
||||
*/
|
||||
fun ArtifactHandler.`kotlinCompilerClasspath`(
|
||||
artifactNotation: Any,
|
||||
configureAction: ConfigurablePublishArtifact.() -> Unit
|
||||
): PublishArtifact =
|
||||
add("kotlinCompilerClasspath", artifactNotation, configureAction)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user