- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 43 for Replace (0.15 sec)
-
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JApiCmpExtensions.kt
internal val JApiClass.simpleName: String get() = fullyQualifiedName.substringAfterLast(".") internal val JApiClass.packagePath: String get() = packageName.replace(".", "/") internal val JApiClass.packageName: String
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1.5K bytes - Viewed (0) -
.teamcity/src/main/kotlin/projects/StageProject.kt
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Tue Dec 05 00:08:14 GMT 2023 - 9.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt
*/ private fun adjustIndentation(initalJsonString: String): String { val indentationRegex = """^\s+""".toRegex(RegexOption.MULTILINE) return indentationRegex.replace(initalJsonString) { m -> " ".repeat(m.value.length * 2) } }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Sep 30 18:18:04 GMT 2022 - 2.1K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy
def overrideAnnotation = Stub(JApiAnnotation) def injectAnnotation = Stub(JApiAnnotation) def setup() { new File(tmp, "org/gradle/api").mkdirs() sourceFile = new File(tmp, "${TEST_INTERFACE_NAME.replace('.', '/')}.java").tap { text = "" } jApiClassifier.fullyQualifiedName >> TEST_INTERFACE_NAME jApiField.name >> 'field' jApiField.jApiClass >> jApiClassifier jApiMethod.name >> 'method'
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/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt
.withTemplate(templateFolder.template("$templateFragment.adoc")) .withTarget(settings.target.file("../README.adoc").asFile) .withBinding("language", descriptor.language.toString().replace("C++", "{cpp}")) .withBinding("languageLC", descriptor.language.getName().toLowerCase()) .withBinding("languageExtension", descriptor.language.extension)
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Feb 06 17:51:21 GMT 2024 - 13.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt
private fun <T : NodeWithSimpleName<*>> T.matchesName(candidateName: String) = matchesName(name.asString(), candidateName) private fun matchesName(name: String, candidateName: String) = name == candidateName.replace(".*\\$".toRegex(), "") // strip outer class names private fun BodyDeclaration<*>.isSince(version: String): Boolean = comment?.orElse(null)?.content?.contains("@since $version") == true private
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Dec 01 20:12:19 GMT 2023 - 6.6K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
e.printStackTrace() } } private fun TestFilesCleanupProjectState.prepareReportForCiPublishing(reports: List<File>) { val projectPathName = projectPath.get().replace(':', '-') val projectBuildDirPath = projectBuildDir.asFile.get().toPath() reports.filter { it.isDirectory }.forEach { val destFile = rootBuildDir.resolve("report$projectPathName-${it.name}.zip")
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Jul 28 16:19:47 GMT 2023 - 12.5K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild.wrapper.gradle.kts
inputs.property("jvmOpts", jvmOpts) doLast { val optsEnvVar = "DEFAULT_JVM_OPTS" scriptFile.writeText(scriptFile.readText().replace("$optsEnvVar='", "$optsEnvVar='$jvmOpts ")) batchScript.writeText(batchScript.readText().replace("set $optsEnvVar=", "set $optsEnvVar=$jvmOpts ")) } } fun Project.wrapperUpdateTask(name: String, label: String) { val wrapperTaskName = "${name}Wrapper"
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 1.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java
Element linkElement = document.createElement("ulink"); linkElement.setAttribute("url", String.format("https://docs.oracle.com/javase/%s/docs/api/%s.html", javaVersion, className.replace(".", "/"))); Element classNameElement = document.createElement("classname"); classNameElement.appendChild(document.createTextNode(StringUtils.substringAfterLast(className, ".")));
Java - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 6.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/BlockDoc.groovy
} boolean isIncubating() { return blockProperty.incubating || blockMethod.incubating } boolean isReplaced() { return blockProperty.replaced } @Override String getReplacement() { return blockProperty.replacement } PropertyDoc getBlockProperty() { return blockProperty }
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.2K bytes - Viewed (0)