Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getUserData (0.15 sec)

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

                new Gson().toJson(acceptanceJson, AcceptedApiChange, writer)
            }
            return stringWriter.toString()
        }
    
        String getCurrentVersion() {
            return context.getUserData().get("currentVersion")
        }
    
        private String relativePathToApiChanges() {
            if (null != apiChangesJsonFile && null != projectRootDir) {
                return projectRootDir.relativePath(apiChangesJsonFile)
    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)
  2. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

        ViolationCheckContext context = new ViolationCheckContext() {
            Map userData = [seenApiChanges: [] as Set]
    
            String getClassName() { return null }
    
            Map<String, ?> getUserData() { return userData }
    
            Object getUserData(String key) {
                return userData[key]
            }
    
            void putUserData(String key, Object value) {
                userData[key] = value
            }
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

                @Override
                Map<String, ?> getUserData() {
                    [
                        currentVersion: '11.38',
                        (BinaryCompatibilityRepositorySetupRule.REPOSITORY_CONTEXT_KEY): repository
                    ]
                }
    
                @Override
                <T> T getUserData(String key) {
                    getUserData()[key]
                }
    
                @Override
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
Back to top