Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for publicApiPatterns (0.11 sec)

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

    abstract class AbstractSuperClassChangesRule extends AbstractGradleViolationRule {
    
        private final List<Pattern> publicApiPatterns
    
        AbstractSuperClassChangesRule(Map<String, Object> params) {
            super(params)
            final List<String> publicApiPatterns = (List<String>)params['publicApiPatterns'];
            this.publicApiPatterns = publicApiPatterns.collect { Pattern.compile(it) }
        }
    
        Violation maybeViolation(final JApiCompatibility member) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/BinaryCompatibilityHelper.groovy

                        publicApiPatterns: includedClasses.get(),
                        mainApiChangesJsonFile: mainApiChangesJsonFilePath,
                        projectRootDir: projectRootDirPath
                    ])
                    addRule(MethodsRemovedInInternalSuperClassRule, [
                        acceptedApiChanges: acceptedChangesMap,
                        publicApiPatterns: includedClasses.get(),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 11 17:15:16 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

        }
    
        void noViolation(def rule) {
            assert rule.maybeViolation(apiClass) == null
        }
    
        Map getInitializationParams() {
            return [acceptedApiChanges: [:],
                publicApiPatterns: ['gradlebuild[.]binarycompatibility[.]rules.[^.]+'],
                apiChangesJsonFile: new File(testDir, 'test-api-changes.json').path,
                projectRootDir: testDir.path]
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2K bytes
    - Viewed (0)
Back to top