Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for files (0.21 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

            TestDomainObject value = new TestDomainObject('a')
            File file = Files.createTempFile(tmpDir.toPath(), null, null).toFile()
            repository.put('class', value)
    
            when:
            repository.store(file)
            def newRepo = new SimpleClassMetaDataRepository<TestDomainObject>()
            newRepo.load(file)
    
            then:
            newRepo.find('class') == value
        }
    }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Sat Apr 06 02:21:33 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

    @CompileStatic
    abstract class AbstractGradleViolationRule extends AbstractContextAwareViolationRule {
    
        private final Map<ApiChange, String> acceptedApiChanges
        private final File apiChangesJsonFile
        private final File projectRootDir
    
        AbstractGradleViolationRule(Map<String, Object> params) {
            Map<String, String> acceptedApiChanges = (Map<String, String>)params.get("acceptedApiChanges")
    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/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

            //parsing all input files into metadata
            //and placing them in the repository object
            SimpleClassMetaDataRepository<gradlebuild.docs.dsl.source.model.ClassMetaData> repository = new SimpleClassMetaDataRepository<gradlebuild.docs.dsl.source.model.ClassMetaData>()
            int counter = 0
            source.filter { File f -> f.name.endsWith(".java") || f.name.endsWith(".groovy") }.each { File f ->
                parse(f, repository)
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  4. .github/workflows/CheckBadMerge.groovy

                List<String> badFiles = MONITORED_FILES.grep { isBadFileInMergeCommit(it, commit, parentCommits[0], parentCommits[1]) }
                if (!badFiles.isEmpty()) {
                    throw new RuntimeException("Found bad files in merge commit $commit: $badFiles")
                } else {
                    println("No bad files found in $commit")
                }
            } else {
    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)
Back to top