1
2 /*
3 * Copyright 2018 the original author or authors.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18 @file:Suppress(
19 "unused",
20 "nothing_to_inline",
21 "useless_cast",
22 "unchecked_cast",
23 "extension_shadowed_by_member",
24 "redundant_projection",
25 "RemoveRedundantBackticks",
26 "ObjectPropertyName",
27 "deprecation"
28 )
29 @file:org.gradle.api.Generated
30
31 /* ktlint-disable */
32
33 package org.gradle.kotlin.dsl
34
35
36 import org.gradle.api.Action
37 import org.gradle.api.Incubating
38 import org.gradle.api.NamedDomainObjectProvider
39 import org.gradle.api.Project
40 import org.gradle.api.Task
41 import org.gradle.api.artifacts.Configuration
42 import org.gradle.api.artifacts.ConfigurablePublishArtifact
43 import org.gradle.api.artifacts.ConfigurationContainer
44 import org.gradle.api.artifacts.Dependency
45 import org.gradle.api.artifacts.DependencyConstraint
46 import org.gradle.api.artifacts.ExternalModuleDependency
47 import org.gradle.api.artifacts.ModuleDependency
48 import org.gradle.api.artifacts.PublishArtifact
49 import org.gradle.api.artifacts.dsl.ArtifactHandler
50 import org.gradle.api.artifacts.dsl.DependencyConstraintHandler
51 import org.gradle.api.artifacts.dsl.DependencyHandler
52 import org.gradle.api.provider.Provider
53 import org.gradle.api.tasks.TaskContainer
54 import org.gradle.api.tasks.TaskProvider
55
56 import org.gradle.kotlin.dsl.*
57 import org.gradle.kotlin.dsl.accessors.runtime.*
58
59
60 /**
61 * Retrieves the [ext][org.gradle.api.plugins.ExtraPropertiesExtension] extension.
62 */
63 val org.gradle.testing.base.TestingExtension.`ext`: org.gradle.api.plugins.ExtraPropertiesExtension get() =
64 (this as org.gradle.api.plugins.ExtensionAware).extensions.getByName("ext") as org.gradle.api.plugins.ExtraPropertiesExtension
65
66 /**
67 * Configures the [ext][org.gradle.api.plugins.ExtraPropertiesExtension] extension.
68 */
extnull69 fun org.gradle.testing.base.TestingExtension.`ext`(configure: Action<org.gradle.api.plugins.ExtraPropertiesExtension>): Unit =
70 (this as org.gradle.api.plugins.ExtensionAware).extensions.configure("ext", configure)
71
72
73
74