Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for targetFiles (0.14 sec)

  1. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/TemplateFactoryTest.groovy

            when:
            factory.fromSourceTemplate("someTemplate/SomeClazz.somelang.template", sourceSet)
    
            then:
            1 * targetDir.file(target) >> targetFile
            1 * targetFile.asFile >> targetAsFile
            1 * templateOperationFactory.newTemplateOperation() >> templateOperationBuilder
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 20:26:42 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. 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)
  3. subprojects/core/src/main/java/org/gradle/api/internal/resources/ApiTextResourceAdapter.java

                    return file;
                }
    
                File targetFile = tempFileProvider.createTemporaryFile("uriTextResource", ".txt", "resource");
                try {
                    Files.asCharSource(file, sourceCharset).copyTo(Files.asCharSink(targetFile, targetCharsetObj));
                    return targetFile;
                } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 02 16:14:10 UTC 2021
    - 5K bytes
    - Viewed (0)
  4. 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)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/FileCopyActionTest.groovy

            )
        }
    
        private FileCopyDetailsInternal file(final RelativePath relativePath, final File targetFile) {
            final FileCopyDetailsInternal details = Mock(FileCopyDetailsInternal)
            _ * details.relativePath >> relativePath
            1 * details.copyTo(targetFile)
            0 * details._
            return details
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 06 01:29:26 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. subprojects/core-api/src/main/java/org/gradle/work/InputChanges.java

     *             if (change.fileType == FileType.DIRECTORY) return
     *
     *             def targetFile = outputDir.file(change.normalizedPath).get().asFile
     *             if (change.changeType == ChangeType.REMOVED) {
     *                 targetFile.delete()
     *             } else {
     *                 targetFile.text = change.file.text.reverse()
     *             }
     *         }
     *     }
     * }
     * </pre>
     *
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 26 09:19:43 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  9. 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)
  10. 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