- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for MultiSectionHandler (0.32 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/polyglot/MultiSectionHandler.groovy
* limitations under the License. */ package org.gradle.integtests.fixtures.polyglot import org.gradle.test.fixtures.dsl.GradleDsl import java.util.function.Supplier abstract class MultiSectionHandler<T> implements SectionBuilder { final List<SectionBuilder> sections = [] public <B extends SectionBuilder> B newSection(@DelegatesTo.Target B section, @DelegatesTo(strategy = Closure.DELEGATE_FIRST) Closure<?> spec) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/polyglot/AbstractDependenciesBuilder.groovy
import groovy.transform.CompileStatic import org.gradle.test.fixtures.dsl.GradleDsl import java.lang.reflect.Array @CompileStatic abstract class AbstractDependenciesBuilder extends MultiSectionHandler implements SectionBuilder { void api(String notation) { sections << new DependencySpec("api", notation) } void implementation(String notation) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/polyglot/ConfigurationSpec.groovy
import groovy.transform.CompileStatic import org.gradle.test.fixtures.dsl.GradleDsl import java.util.function.Supplier @CompileStatic class ConfigurationSpec extends MultiSectionHandler { private final String name private final Supplier<Boolean> isCreate ConfigurationSpec(String name, Supplier<Boolean> isCreate) { this.name = name this.isCreate = isCreate }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/polyglot/RepositoriesBuilder.groovy
import groovy.transform.CompileStatic import org.gradle.integtests.fixtures.RepoScriptBlockUtil import org.gradle.test.fixtures.dsl.GradleDsl @CompileStatic class RepositoriesBuilder extends MultiSectionHandler implements SectionBuilder { @Override String getSectionName() { 'repositories' } void mavenCentral() { sections << new SectionBuilder() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/polyglot/VersionSpec.groovy
* limitations under the License. */ package org.gradle.integtests.fixtures.polyglot import groovy.transform.CompileStatic @CompileStatic class VersionSpec extends MultiSectionHandler { @Override String getSectionName() { "version" } void rejectAll() { sections << new SimpleSection("rejectAll()") } void prefer(String version) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/polyglot/ConfigurationsBuilder.groovy
import groovy.transform.CompileStatic import org.gradle.test.fixtures.dsl.GradleDsl import java.lang.reflect.Array @CompileStatic class ConfigurationsBuilder extends MultiSectionHandler<ConfigurationsBuilder> implements SectionBuilder { final Set<String> alreadyCreated ConfigurationsBuilder(Set<String> alreadyCreated) { this.alreadyCreated = alreadyCreated } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/polyglot/BuildFileBuilder.groovy
import groovy.transform.CompileStatic import org.gradle.test.fixtures.dsl.GradleDsl import org.gradle.test.fixtures.file.TestFile @CompileStatic class BuildFileBuilder extends MultiSectionHandler<BuildFileBuilder> implements PolyglotFileGenerator { private final String id private String group private String version private final Set<String> configurationNames = [] as Set
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.5K bytes - Viewed (0)