- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for cdef (0.6 sec)
-
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy
@TempDir File temporaryFolder @Subject AcceptedApiChangesJsonFileManager jsonFileManager = new AcceptedApiChangesJsonFileManager() def jsonFile def setup() { jsonFile = new File(temporaryFolder, 'acceptedChanges.json') } def "can clean existing API changes"() { given: jsonFile << existingAcceptedApiChanges() when:
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Aug 17 08:32:56 GMT 2021 - 2.5K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy
def canAddMetaData() { TestDomainObject value = new TestDomainObject('a') when: repository.put('class', value) then: repository.find('class') == value repository.get('class') == value } def findReturnsNullForUnknownClass() { expect: repository.find('unknown') == null
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/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy
public static void addBefore(Element sibling, Node n) { def parent = sibling.parentNode parent.insertBefore(n, sibling) } public static Object addAfter(Element sibling, Closure cl) { DomBuilder builder = new DomBuilder(sibling.ownerDocument, null) cl.delegate = builder cl.call() def parent = sibling.parentNode def next = sibling.nextSibling
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Aug 11 15:32:19 GMT 2022 - 2.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy
@Inject abstract ExecOperations getExecOps() @TaskAction def transform() { logging.captureStandardOutput(LogLevel.INFO) logging.captureStandardError(LogLevel.INFO) def destDir = destinationDirectory.get().asFile fs.delete { delete(destDir, temporaryDir) }
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Oct 05 19:36:14 GMT 2023 - 4.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy
} def acceptanceJson = new AcceptedApiChange( change.type, change.member, '[ADD YOUR CUSTOM REASON HERE]', change.changes ) def changeId = (change.type + change.member).replaceAll('[^a-zA-Z0-9]', '_') Violation violation = Violation.error(
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/main/groovy/gradlebuild/EnrichedReportRenderer.groovy
* * @param data the report data containing a description to parse * @return accepted api changes reported upon, as a file */ private static File getAcceptedApiChangesFile(RichReportData data) { def matcher = data.description =~ acceptedChangesRegex return new File(matcher[0][1]) } private static RichReportData enrichReport(RichReportData data) {
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) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy
} JApiMethod method = (JApiMethod) member def metadata = KotlinMetadataQueries.INSTANCE def oldMethod = method.oldMethod.get() def newMethod = method.newMethod.get() def oldIsOperator = metadata.isKotlinOperatorFunction(oldMethod) def newIsOperator = metadata.isKotlinOperatorFunction(newMethod) def oldIsInfix = metadata.isKotlinInfixFunction(oldMethod)
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 2.4K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/UserGuideTransformTaskTest.groovy
def actual = UserGuideTransformTask.normalise(content) then: actual == "test\ntest\ntest" } def stripsLeadingWhitespaceOnSingleLine() { given: String content = " test" when: def actual = UserGuideTransformTask.normalise(content) then: actual == "test" } def preservesFormattingWithIndentedMultiline() { given:
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Tue Jul 27 19:28:51 GMT 2021 - 1.9K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/BinaryCompatibilityHelper.groovy
japicmpTask.tap { addExcludeFilter(AnonymousClassesFilter) addExcludeFilter(KotlinInternalFilter) def acceptedChangesMap = acceptedViolations.toAcceptedChangesMap() def apiChangesJsonFilePath = apiChangesJsonFile.path def projectRootDirPath = projectRootDir.asFile.path richReport.get().tap { addRule(IncubatingInternalInterfaceAddedRule, [
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) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy
class UpdateReleasedVersionsIntegrationTest extends Specification { def format = new SimpleDateFormat('yyyyMMddHHmmssZ') @TempDir File tmpDir def setup() { format.timeZone = TimeZone.getTimeZone("UTC") } def "updated released version file has expected format"() { given: def releasedVersionsFile = new File(tmpDir, "released-versions.json")
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Aug 17 08:32:56 GMT 2021 - 2.4K bytes - Viewed (0)