Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for escapeSectionName (0.17 sec)

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

            if (sectionName) {
                def name = escapeSectionName(dsl)
                """${name} {
                ${innerDsl(dsl)}
            }
            """
            }
        }
    
        protected String innerDsl(GradleDsl dsl) {
            sections.collect { it.generateSection(dsl) }.join("\n            ")
        }
    
        private String escapeSectionName(GradleDsl dsl) {
            switch (dsl) {
                case GradleDsl.GROOVY:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top