Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 271 for String (0.14 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/BlockDoc.groovy

        BlockDoc forClass(ClassDoc referringClass) {
            return new BlockDoc(blockMethod.forClass(referringClass), blockProperty.forClass(referringClass), type, multiValued)
        }
    
        String getId() {
            return blockMethod.id
        }
    
        String getName() {
            return blockMethod.name
        }
    
        boolean isMultiValued() {
            return multiValued
        }
    
        TypeMetaData getType() {
            return type
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JavassistExtensions.kt

        }
    
    
    internal
    val MemberValue.stringValue: String
        get() {
            var value: String? = null
            accept(object : MemberValueVisitorAdapter() {
                override fun visitStringMemberValue(node: StringMemberValue) {
                    value = node.value
                }
            })
            if (value == null) throw annotationMemberValueNotFound(typeOf<String>())
            return value!!
        }
    
    
    internal
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.6K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/RichReportScrapper.kt

        }
    
    
    private
    fun Document.scrapeMessagesForSeverity_OLD(severity: String): List<String> =
    
        select("tr.severity-$severity").map { tr ->
            tr.select("td")[1]
                .select("span")
                .text()
                .substringBefore(" If you did this intentionally")
        }
    
    
    private
    fun Document.scrapeMessagesForSeverity(severity: String): List<ReportMessage> =
    
        select("tr.severity-$severity").map { tr ->
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Sep 21 16:02:23 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  4. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

                }
            }
        }
    }
    
    
    private
    fun Project.bucket(name: String, description: String) = configurations.create(name) {
        isVisible = false
        isCanBeResolved = false
        isCanBeConsumed = false
        this.description = description
    }
    
    
    private
    fun Project.resolver(name: String, libraryElements: String, extends: Configuration? = null) = configurations.create(name) {
        attributes {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/GenerateDefaultImports.java

        /**
         * Package name can end with '.**' to exclude subpackages as well.
         */
        @Input
        public abstract SetProperty<String> getExcludedPackages();
    
        @TaskAction
        public void generate() throws IOException {
            final Set<String> packages = new LinkedHashSet<>();
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  6. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

        lateinit var projectDir: Path
    
        private
        val implementation = PackageListGenerator.Implementation(DEFAULT_EXCLUDES_FOR_TEST)
    
        private
        fun getRelocatedPackages(files: Sequence<Path>): List<String> = mutableListOf<String>().apply {
            implementation.collectPackages(files.toList()).dump(false, this::add)
        }
    
        @Test
        fun `generates a curated list of package prefixes from directories`() {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

            checkXrefLinksInUserManualAreValid(layout, tasks, extension);
        }
    
        public static List<String> getDefaultExcludedPackages() {
            // TODO: This should be configured via the extension vs hardcoded in the plugin
            List<String> excludedPackages = new ArrayList<>();
            // These are part of the API, but not the DSL
            excludedPackages.add("org.gradle.tooling.**");
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Mar 01 05:46:51 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/UserGuideTransformTaskTest.groovy

        def replacesTabsWith4Spaces() {
            given:
            String content = "test\ttest\ttest"
            when:
            def actual = UserGuideTransformTask.normalise(content)
    
            then:
            actual == "test    test    test"
        }
    
        def usesUnixLineEndings() {
            given:
            String content = "test\r\ntest\r\ntest"
            when:
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Tue Jul 27 19:28:51 GMT 2021
    - 1.9K bytes
    - Viewed (0)
  9. build-logic/jvm/src/main/kotlin/gradlebuild/jvm/argumentproviders/CiEnvironmentProvider.kt

                }
            } else {
                listOf()
            }
        }
    
        private
        fun getRepoMirrorSystemProperties(): List<String> = collectMirrorUrls().map {
            "-Dorg.gradle.integtest.mirrors.${it.key}=${it.value}"
        }
    
        private
        fun collectMirrorUrls(): Map<String, String> =
            // expected env var format: repo1_id:repo1_url,repo2_id:repo2_url,...
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ModelBuilderSupport.java

        }
    
        protected Element getChild(Element element, String childName) {
            Element child = findChild(element, childName);
            if (child != null) {
                return child;
            }
            throw new RuntimeException(String.format("No <%s> element found in <%s>", childName, element.getTagName()));
        }
    
        protected Element findChild(Element element, String childName) {
            NodeList childNodes = element.getChildNodes();
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Viewed (0)
Back to top