Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for targetFiles (0.19 sec)

  1. platforms/documentation/docs/src/snippets/tasks/incrementalTask/groovy/build.gradle

                println "${change.changeType}: ${change.normalizedPath}"
                def targetFile = outputDir.file(change.normalizedPath).get().asFile
                if (change.changeType == ChangeType.REMOVED) {
                    targetFile.delete()
                } else {
                    targetFile.text = change.file.text.reverse()
                }
            }
            // end::process-file-changes[]
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCache.java

                    lock.writeLock().unlock();
                }
            });
        }
    
        private void storeInsideLock(HashCode key, File sourceFile) {
            File targetFile = getCacheEntryFile(key);
            try {
                Files.move(sourceFile.toPath(), targetFile.toPath(), StandardCopyOption.ATOMIC_MOVE);
            } catch (FileAlreadyExistsException ignore) {
                // We already have the file in the build cache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:53 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. build-logic/packaging/src/main/kotlin/gradlebuild.shaded-jar.gradle.kts

            }
        }
        tasks.register<Copy>("install${project.name.kebabToPascal()}ShadedJar") {
            from(shadedJarTask.map { it.jarFile })
            into(provider { targetFile().parentFile })
            rename { targetFile().name }
        }
    }
    
    fun addShadedJarVariant(shadedJarTask: TaskProvider<ShadedJar>) {
        val implementation by configurations
        val shadedImplementation by configurations.creating {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesBetweenBuildsFileSystemWatchingIntegrationTest.groovy

            def settingsFile = projectDir.file("settings.gradle")
            def buildFile = projectDir.file("build.gradle")
            def sourceFile = projectDir.file("source.txt")
            def targetFile = projectDir.file("build/target.txt")
    
            executer.beforeExecute {
                inDirectory(projectDir)
                enableVerboseVfsLogs()
                withBuildCache()
                withWatchFs()
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ReferenceShortener.kt

            // Descriptor-based shortening is implemented on the IDE plugin side.
            val ktFilePointer = SmartPointerManager.createPointer(file)
    
            return object : ShortenCommand {
                override val targetFile: SmartPsiElementPointer<KtFile> get() = ktFilePointer
                override val importsToAdd: Set<FqName> get() = emptySet()
                override val starImportsToAdd: Set<FqName> get() = emptySet()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtReferenceShortener.kt

     */
    public data class ThisLabelToShortenInfo(
        val labelToShorten: SmartPsiElementPointer<KtThisExpression>,
    )
    
    public interface ShortenCommand {
        public val targetFile: SmartPsiElementPointer<KtFile>
        public val importsToAdd: Set<FqName>
        public val starImportsToAdd: Set<FqName>
        public val listOfTypeToShortenInfo: List<TypeToShortenInfo>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top