Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for it (0.35 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy

            super(params)
            final List<String> publicApiPatterns = (List<String>)params['publicApiPatterns'];
            this.publicApiPatterns = publicApiPatterns.collect { Pattern.compile(it) }
        }
    
        Violation maybeViolation(final JApiCompatibility member) {
            if (!(member instanceof JApiClass)) {
                return null
            }
    
            if (!changed(member)) {
                return null
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            member.annotations*.fullyQualifiedName.any { it == Incubating.name }
        }
    
        private static boolean isAnnotatedWithDeprecated(JApiHasAnnotations member) {
            member.annotations*.fullyQualifiedName.any { it == Deprecated.name || it == kotlin.Deprecated.name }
        }
    
        private static boolean isAnnotatedWithInject(JApiHasAnnotations member) {
            member.annotations*.fullyQualifiedName.any { it == Inject.name }
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

         * classloader by {@link JApiCmpWorkerAction}, so there is no way to use a
         * normal property on the renderer instance and just set the location of the API file in it.
         *
         * Instead, we'll encode the path to the file in the description data field, as a link.  This is
         * useful regardless of this renderer's needs, since now there will be a link embedded in the report
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/BinaryCompatibilityHelper.groovy

                        (BinaryCompatibilityRepositorySetupRule.Params.sourceRoots): sourceRoots.collect { it.absolutePath } as Set,
                        (BinaryCompatibilityRepositorySetupRule.Params.sourceCompilationClasspath): newClasspath.collect { it.absolutePath } as Set
                    ])
                    addSetupRule(UpgradePropertiesRuleSetup, [
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/FindGradleJars.groovy

            File baselineJarsDirectory = artifact.get().asFile
            if (baselineJarsDirectory.name == 'gradle-jars') {
                baselineJarsDirectory.listFiles().each {
                    outputs.file(it)
                }
            }
        }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 11 12:20:44 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  6. .github/workflows/CheckBadMerge.groovy

                .readLines()
                .collect { it.replace("*", "") } // remove the * from the current branch, e.g. * master -> master
                .collect { it.trim() }
                .grep { !it.isEmpty() }
        }
    
        static List<String> parentCommitsOf(String commit) {
            return getStdout("git show --format=%P --no-patch $commit")
                .split(" ").collect { it.trim() }.grep { !it.isEmpty() }
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                pAnn.flatten().any { isNullableCtAnnotation(it) }
            }
        }
    
        private static boolean hasNullableAnnotation(CtField field) {
            return NULLABLE_ANNOTATIONS.any { field.hasAnnotation(it) }
        }
    
        private static boolean hasNullableAnnotation(CtMethod method) {
            return NULLABLE_ANNOTATIONS.any { method.hasAnnotation(it) }
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Apr 13 10:04:28 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

                String errorStart = "ERROR: ${deadLink.file.name}:"
                assert lines.any { it.startsWith(errorStart) && it.endsWith(deadLink.message) }
            }
        }
    
        private void assertFoundDeadSectionLinks(File file, String... sections) {
            assertFoundDeadLinks(sections.collect { DeadLink.forSection(file, it) })
        }
    
        private void assertFoundDeadJavadocLinks(File file, String... paths) {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Nov 28 22:01:54 GMT 2022
    - 7.8K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            'method'      | 'jApiMethod'
            'field'       | 'jApiField'
            'constructor' | 'jApiConstructor'
        }
    
        def "if a type is annotated with @Incubating a new #apiElement does not require it"() {
            given:
            JApiCompatibility jApiType = getProperty(jApiTypeName)
    
            when:
            this.jApiClassifier.annotations >> [incubatingAnnotation]
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy

            c.interfaces.each { result.put(it.name, it) }
    
            if (c.superclass != null) {
                collect(result, c.superclass)
            }
        }
    
        private List<String> filterChangesToReport(CtClass c, Map<String, CtClass> interfaces) {
            return interfaces.values().findAll { implementedDirectly(it, c) && addedInterfaceIsIncubatingOrInternal(it, c) }*.name.sort()
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.8K bytes
    - Viewed (0)
Back to top