Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 88 for Add (0.18 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/AbstractLanguageElement.java

        }
    
        @Override
        public List<String> getAnnotationTypeNames() {
            return annotationNames;
        }
    
        public void addAnnotationTypeName(String annotationType) {
            annotationNames.add(annotationType);
        }
    
        @Override
        public boolean isDeprecated() {
            return annotationNames.contains(Deprecated.class.getName());
        }
    
        @Override
        public boolean isIncubating() {
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.9K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ModelBuilderSupport.java

                if (node instanceof Element) {
                    Element childElement = (Element) node;
                    if (childElement.getTagName().equals(childName)) {
                        matches.add(childElement);
                    }
                }
            }
            return matches;
        }
    
        protected Element getChild(Element element, String childName) {
            Element child = findChild(element, childName);
    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)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.collect-failed-tasks.gradle.kts

        }
    
        override fun action(taskPath: String, taskResult: TaskOperationResult) {
            if (taskResult is TaskFailureResult) {
                failedTaskPaths.add(taskPath)
            }
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Aug 11 07:01:27 GMT 2022
    - 2.3K bytes
    - Viewed (1)
  4. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt

                    byCategory.getOrPut(toCategory(version, file.nameWithoutExtension)) {
                        mutableMapOf()
                    }.getOrPut(file.nameWithoutExtension) {
                        mutableSetOf()
                    }.add(problem)
                }
            }
            generateReport(byCategory)
        }
    
        private
        fun toCategory(version: String, gradleModule: String) = when {
    HTML
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 18 06:55:55 GMT 2021
    - 3.4K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            when:
            annotations.clear()
    
            then:
            rule.maybeViolation(jApiType).humanExplanation =~ 'Is not annotated with @Incubating'
    
            when:
            annotations.add(incubatingAnnotation)
    
            then:
            rule.maybeViolation(jApiType) == null
    
            where:
            apiElement    | jApiTypeName
            'interface'   | 'jApiClassifier'
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
  6. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

        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`() {
            assertEquals(EXPECTED_PACKAGE_LIST, getRelocatedPackages(someClasses()))
        }
    
        @Test
    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/dsl/docbook/ClassDocPropertiesBuilder.java

                Node lastChild = element.getLastChild();
                if (lastChild instanceof Text) {
                    lastChild.setTextContent(lastChild.getTextContent().replaceFirst("\\s+$", ""));
                }
                valueTitles.add(element);
            }
    
            //adding the properties from the super class onto the inheriting class
            Map<String, PropertyDoc> props = new TreeMap<String, PropertyDoc>();
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Viewed (0)
  8. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

            projectPathToExecutedTaskPaths.computeIfAbsent(taskPathToProjectPath(taskPath)) { mutableListOf() }.add(taskPath)
        }
    
        private
        fun addFailedTaskPath(taskPath: String) {
            projectPathToFailedTaskPaths.computeIfAbsent(taskPathToProjectPath(taskPath)) { mutableListOf() }.add(taskPath)
        }
    
        private
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jul 28 16:19:47 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

                        sourceLinkSpec.getRemoteUrl().set(uri);
                        sourceLinkSpec.getRemoteLineSuffix().set("#L");
                        spec.getSourceLinks().add(sourceLinkSpec);
                    }
                );
        }
    
        private static URI toUri(File projectRootDir, File file, String commitId) {
            try {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 15 14:00:14 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepository.java

            List<String> candidates = new ArrayList<String>();
            for (String className : classes.keySet()) {
                if (getLevenshteinDistance(fullyQualifiedClassName, className) < 8) {
                    candidates.add(className);
                }
            }
            return candidates;
        }
    
        @Override
        public void put(String fullyQualifiedClassName, T metaData) {
            classes.put(fullyQualifiedClassName, metaData);
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4K bytes
    - Viewed (0)
Back to top