- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 163 for Replace (0.21 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy
element.setTextContent(normalise(element.getTextContent())) } } static String normalise(String content) { content.replace('\t', ' ').stripIndent().replace('\r\n', '\n') } def transformApiLinks(Document doc) { ClassMetaDataRepository<ClassLinkMetaData> linkRepository = new SimpleClassMetaDataRepository<ClassLinkMetaData>()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 5.6K 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"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/UnionFileCollection.java
@Override public FileCollectionInternal replace(FileCollectionInternal original, Supplier<FileCollectionInternal> supplier) { ImmutableSet.Builder<FileCollectionInternal> newSource = ImmutableSet.builderWithExpectedSize(source.size()); boolean hasChanges = false; for (FileCollectionInternal candidate : source) { FileCollectionInternal newCollection = candidate.replace(original, supplier);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCompositeBuildProblemReportingIntegrationTest.groovy
withProblem("Build file 'inc/sub/build.gradle': line 2: registration of listener on 'Gradle.buildFinished' is unsupported".replace('/', File.separator)) withProblem("Build file 'inc/sub/build.gradle': line 5: invocation of 'Task.project' at execution time is unsupported.".replace('/', File.separator))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/TaskContainerDelegate.kt
override fun register(name: String): TaskProvider<Task> = delegate.register(name) override fun replace(name: String): Task = delegate.replace(name) override fun <T : Task> replace(name: String, type: Class<T>): T = delegate.replace(name, type) override fun iterator(): MutableIterator<Task> = delegate.iterator()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 01 08:18:33 UTC 2023 - 8.4K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionInternal.java
/** * Returns a copy of this collection, with the given collection replaced with the value returned by the given supplier. * * This is used to deal with the case where a mutable collection may be added to itself. This is intended to become an error at some point. */ FileCollectionInternal replace(FileCollectionInternal original, Supplier<FileCollectionInternal> supplier); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 14:55:28 UTC 2024 - 2.8K bytes - Viewed (0) -
build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/MavenRepository.groovy
} URI getUri() { return rootDir.toURI() } MavenModule addModule(String groupId, String artifactId, Object version = '1.0') { def artifactDir = new File(rootDir, "${groupId.replace('.', '/')}/$artifactId/$version") def module = new MavenModule(artifactDir, groupId, artifactId, version as String) module.mavenJarCreator = mavenJarCreator modules << module return module
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 1.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/support/ZipTest.kt
ZipOutputStream(outputStream()).use { zip -> val content = "suspicious".toByteArray() zip.putNextEntry(ZipEntry("path/../../traversal.txt".replace('/', File.separatorChar)).apply { size = content.size.toLong() }) zip.write(content) zip.closeEntry() } } try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Nov 11 00:37:04 UTC 2023 - 23.1K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt
includes.map { if (it.endsWith("/**")) { Pattern.compile(it.substring(0, it.length - 3).replace("/", "\\.") + "(\\..+)?") } else { Pattern.compile(it.substring(0, it.length - 2).replace("/", "\\.") + "\\.[^.]+") } } } private val excludePackagePatterns = listOf(Pattern.compile(".+\\.internal(\\..+)?"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 11:35:53 UTC 2024 - 2.5K bytes - Viewed (0)