Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for fileValue (0.13 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/file/FileSystemLocationProperty.java

         *
         * <p>This method is the same as {@link #set(File)} but allows method chaining.</p>
         *
         * @return this
         * @since 6.0
         */
        FileSystemLocationProperty<T> fileValue(@Nullable File file);
    
        /**
         * Sets the location of this file, using a {@link File} {@link Provider} instance. {@link File} instances with relative paths are resolved relative to the project directory of the project
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 12:28:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildCacheKeyFixture.groovy

                }
    
                if (gradle.parent == null) {
                    def collector = gradle.sharedServices.registerIfAbsent("buildCacheKeyCollector", BuildCacheKeyCollector) {
                        parameters.buildCacheKeyJson.fileValue(new File("${TextUtil.normaliseFileSeparators(file.absolutePath)}"))
                    }
                    gradle.services.get(${BuildEventListenerRegistryInternal.name}).onOperationCompletion(collector)
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/file/DirectoryProperty.java

        /**
         * {@inheritDoc}
         */
        @Override
        DirectoryProperty value(Provider<? extends Directory> provider);
    
        /**
         * {@inheritDoc}
         */
        @Override
        DirectoryProperty fileValue(@Nullable File file);
    
        /**
         * {@inheritDoc}
         */
        @Override
        DirectoryProperty fileProvider(Provider<File> provider);
    
        /**
         * {@inheritDoc}
         */
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 10 18:00:11 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/DefaultValueSnapshotter.java

                    implementation,
                    classLoaderHasher.getClassLoaderHash(implementation.getClass().getClassLoader()));
            }
    
            @Override
            public ValueSnapshot fileValue(File value) {
                return new FileValueSnapshot(value);
            }
    
            @Override
            public ValueSnapshot attributeValue(Attribute<?> value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:01 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/DefaultIsolatableFactory.java

                throw new IsolationException(implementationClassIdentifier);
            }
    
            @Override
            public Isolatable<?> fileValue(File value) {
                return new FileValueSnapshot(value);
            }
    
            @Override
            public Isolatable<?> attributeValue(Attribute<?> value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 22:53:34 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeCodeGenTest.groovy

            "RegularFileProperty"         | "File"           | "self.getProperty().getAsFile().getOrNull()"     | ".fileValue(arg0)" | [File]
            "DirectoryProperty"           | "File"           | "self.getProperty().getAsFile().getOrNull()"     | ".fileValue(arg0)" | [File]
            "ConfigurableFileCollection"  | "FileCollection" | "self.getProperty()"                             | ".setFrom(arg0)"   | [FileCollection]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeClassSourceGenerator.java

            String assignment;
            switch (upgradedPropertyType) {
                case REGULAR_FILE_PROPERTY:
                case DIRECTORY_PROPERTY:
                    assignment = ".fileValue(arg0)";
                    break;
                case CONFIGURABLE_FILE_COLLECTION:
                    assignment = ".setFrom(arg0)";
                    break;
                case LIST_PROPERTY:
                case SET_PROPERTY:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:11:23 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/TestTest.groovy

        }
    
        def 'fails if custom executable does not exist'() {
            def task = project.tasks.create("test", Test)
            task.testClassesDirs = TestFiles.fixed(new File("tmp"))
            task.binaryResultsDirectory.fileValue(new File("out"))
            def invalidExecutable = temporaryFolder.file("invalidExecutable")
    
            when:
            task.executable = invalidExecutable
            task.javaLauncher.get()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

            String paramValue = options.paramValue ?: "1"
            String fileValue = options.fileValue ?: "String.valueOf(input.length())"
            boolean incremental = options.incremental ?: false
    
            """
                ext.paramValue = $paramValue
    
                ${registerFileSizer(fileValue, incremental)}
    
                project(':util') {
                    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFilePropertyFactory.java

                if (file == null) {
                    set((T) null);
                    return;
                }
                set(fromFile(file));
            }
    
            @Override
            public THIS fileValue(@Nullable File file) {
                set(file);
                return Cast.uncheckedNonnullCast(this);
            }
    
            @Override
            public THIS fileProvider(Provider<File> provider) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:53:33 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top