- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 104 for InputFile (0.27 sec)
-
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/model/annotations/InputFilePropertyAnnotationHandler.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.execution.model.annotations; import org.gradle.api.tasks.InputFile; import org.gradle.internal.properties.InputFilePropertyType; import static org.gradle.internal.execution.model.annotations.ModifierAnnotationCategory.INCREMENTAL;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/listProperty/kotlin/build.gradle.kts
} abstract class Consumer : DefaultTask() { @get:InputFiles abstract val inputFiles: ListProperty<RegularFile> @TaskAction fun consume() { inputFiles.get().forEach { inputFile -> val input = inputFile.asFile val message = input.readText() logger.quiet("Read '${message}' from ${input}") } } } val producerOne = tasks.register<Producer>("producerOne")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
public class FileUtilTest { URL url = ResourceUtil.getResource(getClass().getName().replace('.', '/') + ".txt"); File inputFile = URLUtil.toFile(url); /** * @throws Exception */ @Test public void testFileToFile() throws Exception { final byte[] bytes = readBytes(inputFile); assertThat(bytes, is("あいうえお".getBytes("UTF-8"))); } /** * @throws Exception */
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/GradleBuildContinuousIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 2K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump_test.go
tests := []struct { name string wantConfigs int inputFile string wantErr bool }{ { name: "errors if unable to unmarshal bytes", inputFile: "", wantConfigs: 0, wantErr: true, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { cw := &ConfigWriter{} cd, _ := os.ReadFile(tt.inputFile) err := cw.Prime(cd) if cw.configDump == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 03 23:08:06 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/listProperty/groovy/build.gradle
} abstract class Consumer extends DefaultTask { @InputFiles abstract ListProperty<RegularFile> getInputFiles() @TaskAction void consume() { inputFiles.get().each { inputFile -> def input = inputFile.asFile def message = input.text logger.quiet("Read '${message}' from ${input}") } } } def producerOne = tasks.register('producerOne', Producer)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/jvm/language-jvm/src/testFixtures/groovy/org/gradle/api/tasks/compile/AbstractCompilerContinuousIntegrationTest.groovy
} } ${verifyDaemonsTask} """ when: inputFile.text = initialSourceContent then: succeeds(compileTaskName) when: inputFile.text = changedSourceContent then: buildTriggeredAndSucceeded() and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 04 07:31:58 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ChangesDuringBuildContinuousIntegrationTest.groovy
def "should trigger rebuild when java source file is changed during build execution"() { given: def inputFile = file("src/main/java/Thing.java") inputFile << "class Thing {}" inputFile.makeOlder() when: buildFile << """ apply plugin: 'java' task postCompile { doLast { if (!file('change-triggered').exists()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 6.8K bytes - Viewed (0) -
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/internal/generator/XmlPersistableConfigurationObjectTest.groovy
xml.attributes().put("name", rootElement) } } def loadsFromXmlFile() { def inputFile = tmpDir.file('input.xml') inputFile.text = '<root name="some-xml"/>' when: object.load(inputFile) then: rootElement == 'some-xml' } def loadsFromDefaultResource() { when: object.loadDefaults()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/SymlinkFileSystemWatchingIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 13:50:33 UTC 2024 - 5.8K bytes - Viewed (0)