- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for New (0.21 sec)
-
build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy
class SimpleClassMetaDataRepositoryTest extends Specification { @TempDir File tmpDir final SimpleClassMetaDataRepository<TestDomainObject> repository = new SimpleClassMetaDataRepository<TestDomainObject>() def canAddMetaData() { TestDomainObject value = new TestDomainObject('a') when: repository.put('class', value) then: repository.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) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy
) return violation } private static String prettyPrintJson(def acceptanceJson) { def stringWriter = new StringWriter() new JsonWriter(stringWriter).withCloseable { writer -> writer.setIndent(" ") new Gson().toJson(acceptanceJson, AcceptedApiChange, writer) } return stringWriter.toString() } String getCurrentVersion() {
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) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy
where: ruleElem << [new BinaryBreakingChangesRule([:]), new SinceAnnotationMissingRule([:]), new IncubatingMissingRule([:])] error << ['Is not binary compatible.', 'Is not annotated with @since', 'Is not annotated with @Incubating'] } def "the @since annotation on inner classes is recognised"() { given: def rule = withContext(new SinceAnnotationMissingRule([:]))
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Dec 01 20:12:19 GMT 2023 - 16K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy
if (!sourceFile.name.endsWith('.java')) { throw new DocGenerationException("Parsing non-Java files is not supported: $sourceFile") } try { new JavaParser().parse(sourceFile).getResult().get().accept(new SourceMetaDataVisitor(), repository) } catch (Exception e) { throw new DocGenerationException("Could not parse '$sourceFile'.", e) } }
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) -
.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 08 11:36:15 GMT 2024 - Last Modified: Tue Dec 19 10:35:44 GMT 2023 - 6.5K bytes - Viewed (0)