Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newSection (0.1 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/polyglot/BuildFileBuilder.groovy

            newSection(new RepositoriesBuilder()) {
                BuilderSupport.applyConfiguration(spec, it)
            }
            this
        }
    
        BuildFileBuilder configurations(@DelegatesTo(value = ConfigurationsBuilder, strategy = Closure.DELEGATE_FIRST) Closure<?> spec) {
            newSection(new ConfigurationsBuilder(configurationNames)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/polyglot/MultiSectionHandler.groovy

    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) {
            sections << section
            BuilderSupport.applyConfiguration(spec, section)
            section
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. scripts/mkdocs_hooks.py

                        new_title = first_child.title or new_title
                # Creating a new section makes it render it collapsed by default
                # no idea why, so, let's just modify the existing one
                # new_section = Section(title=new_title, children=new_children)
                item.title = new_title
                item.children = new_children
                new_items.append(item)
            else:
                new_items.append(item)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top