- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 150 for inputFile1 (0.29 sec)
-
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/core-execution/execution/src/main/java/org/gradle/internal/execution/model/annotations/InputFilesPropertyAnnotationHandler.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.InputFiles; import org.gradle.internal.properties.InputFilePropertyType; import static org.gradle.internal.execution.model.annotations.ModifierAnnotationCategory.IGNORE_EMPTY_DIRECTORIES;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 1.7K 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/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) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/AbstractTaskInputsAndOutputsTest.groovy
PropertyValue value, InputFilePropertyType filePropertyType ) { inputFiles[propertyName] = value.call() } }) return inputFiles }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:35 UTC 2024 - 4.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/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerCacheIntegrationTest.groovy
File outputFile @InputFile @PathSensitive(PathSensitivity.NONE) File inputFile @TaskAction public void makeOutput() { outputFile.text = "done" } } task cacheable(type: CustomTask) { inputFile = file("input")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/templates/precompiled-script-plugin-utils/src/main/java/com/example/ReadmeVerificationTask.java
package com.example; import org.gradle.api.DefaultTask; import org.gradle.api.file.RegularFileProperty; import org.gradle.api.provider.ListProperty; import org.gradle.api.tasks.InputFile; import org.gradle.api.tasks.Internal; import org.gradle.api.tasks.PathSensitive; import org.gradle.api.tasks.PathSensitivity; import org.gradle.api.tasks.TaskAction; import java.io.IOException; import java.nio.file.Files; import java.util.regex.Pattern;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileCollectionIntegrationTest.groovy
@InputFiles abstract ConfigurableFileCollection getInputFiles() @OutputFile abstract RegularFileProperty getOutputFile() @TaskAction void run() { outputFile.get().asFile.text = inputFiles.files.collect { it.text }.join() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.4K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/rc/tasks/WindowsResourceCompile.java
import org.gradle.api.provider.ListProperty; import org.gradle.api.provider.Property; import org.gradle.api.tasks.IgnoreEmptyDirectories; import org.gradle.api.tasks.Input; import org.gradle.api.tasks.InputFiles; import org.gradle.api.tasks.Internal; import org.gradle.api.tasks.Nested; import org.gradle.api.tasks.OutputDirectory; import org.gradle.api.tasks.PathSensitive; import org.gradle.api.tasks.PathSensitivity;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 8.3K bytes - Viewed (0)