- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for inputDir (0.28 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/SkipWhenEmptyIntegrationTest.groovy
} def "SkipWhenEmpty does not skip for #description"() { def inputDirectory = file("inputDir").createDir() inputDirectory.file("inputFile").createFile() def inputZip = file("inputZip.zip") def inputTar = file("inputTar.tar") inputDirectory.zipTo(inputZip) inputDirectory.tarTo(inputTar) buildFile << sourceTask buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 23 15:09:05 UTC 2022 - 3.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/incrementalTask/kotlin/build.gradle.kts
tasks.register("originalInputs") { val inputsDir = layout.projectDirectory.dir("inputs") outputs.dir(inputsDir) doLast { inputsDir.file("1.txt").asFile.writeText("Content for file 1.") inputsDir.file("2.txt").asFile.writeText("Content for file 2.") inputsDir.file("3.txt").asFile.writeText("Content for file 3.") } } // tag::updated-inputs[] tasks.register("updateInputs") {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/assembler/tasks/AssemblerTest.groovy
def "executes using the Assembler"() { def inputDir = temporaryFolder.createFile("sourceFile") def result = Mock(WorkResult) when: assembleTask.toolChain = toolChain assembleTask.targetPlatform = platform assembleTask.assemblerArgs = ["arg"] assembleTask.objectFileDir = temporaryFolder.file("outputFile") assembleTask.source inputDir execute(assembleTask) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/file/TaskFilePropertiesIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/incrementalTask/groovy/build.gradle
tasks.register('originalInputs') { def inputsDir = layout.projectDirectory.dir('inputs') outputs.dir(inputsDir) doLast { inputsDir.file('1.txt').asFile.text = 'Content for file 1.' inputsDir.file('2.txt').asFile.text = 'Content for file 2.' inputsDir.file('3.txt').asFile.text = 'Content for file 3.' } } // tag::updated-inputs[] tasks.register('updateInputs') { def inputsDir = layout.projectDirectory.dir('inputs')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/TaskExecutionResultCrossVersionSpec.groovy
buildFile << """ task incrementalTask(type: MyIncrementalTask) { inputDir = file('src') } class MyIncrementalTask extends DefaultTask { ${supportsInputChanges ? "@Incremental" : ""} @InputDirectory def File inputDir @TaskAction void doSomething(${parameterType} inputs) {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 6.8K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/work/InputChanges.java
* * {@literal @}OutputDirectory * abstract DirectoryProperty getOutputDir() * * {@literal @}TaskAction * void execute(InputChanges inputChanges) { * inputChanges.getFileChanges(inputDir).each { change -> * if (change.fileType == FileType.DIRECTORY) return * * def targetFile = outputDir.file(change.normalizedPath).get().asFile
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 26 09:19:43 UTC 2023 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java
readingList.add(toKatakana(text)); return readingList; } protected String toKatakana(final String inputStr) throws IOException { final StringBuilder kanaBuf = new StringBuilder(); final Reader rd = new StringReader(inputStr); try (TokenStream stream = createTokenStream(rd)) { if (stream == null) { throw new IOException("Invalid tokenizer.");
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/ApacheDirectoryListingParserTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 7.2K bytes - Viewed (0)