- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for startswith (2.25 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy
protected abstract Violation checkSuperClassChanges(JApiClass apiClass, CtClass oldClass, CtClass newClass) protected boolean isInternal(CtClass c) { if (c.name.startsWith("java.")) { return false } else if (c.name.contains('.internal.')) { return true } else { return !publicApiPatterns.any { it.matcher(c.name).find() } }
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 2.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy
when: sourceFile.text = apiElement.startsWith('enum') ? """ public enum $TEST_INTERFACE_SIMPLE_NAME { field; void method() { } } """ : apiElement.startsWith('annotation') ? """ public @interface $TEST_INTERFACE_SIMPLE_NAME {
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/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy
assert linkErrors.exists() def lines = linkErrors.readLines() deadLinks.each { deadLink -> String errorStart = "ERROR: ${deadLink.file.name}:" assert lines.any { it.startsWith(errorStart) && it.endsWith(deadLink.message) } } } private void assertFoundDeadSectionLinks(File file, String... sections) {
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Mon Nov 28 22:01:54 GMT 2022 - 7.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy
} } def transformWebsiteLinks(Document doc) { findAll(doc, 'ulink').each { Element element -> String url = element.'@url' if (url.startsWith('website:')) { url = url.substring(8) url = "${websiteUrl.get()}/${url}" element.setAttribute('url', url) } } }
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 5.6K bytes - Viewed (0) -
.github/workflows/CheckBadMerge.groovy
List<String> p2Branches = branchesOf(parentCommits[1]) if (p1Branches.contains("origin/master") && !p2Branches.contains("origin/master") && p2Branches.any { it.startsWith("origin/release") }) { List<String> badFiles = MONITORED_FILES.grep { isBadFileInMergeCommit(it, commit, parentCommits[0], parentCommits[1]) } if (!badFiles.isEmpty()) {
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) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/ExplodeZipAndFindJars.groovy
shortName = shortName.substring(shortName.lastIndexOf('/') + 1) } if (shortName.endsWith('.jar')) { def outputDir = shortName.startsWith('gradle-') ? gradleJars : dependencies def out = new File(outputDir, shortName) Files.copy(zin, out.toPath()) zin.closeEntry() } }
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Jul 08 13:44:59 GMT 2021 - 2.4K bytes - Viewed (0)