Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 67 for TextResource (0.18 sec)

  1. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileOrUriNotationConverter.java

                    return;
                }
                result.converted(new File(notationString));
            }
            if (notation instanceof TextResource) {
                // TODO: This eagerly resolves a TextResource into a File, ignoring dependencies
                result.converted(((TextResource) notation).asFile());
            }
        }
    
        private static boolean isWindowsRootDirectory(String scheme) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:38 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. testing/architecture-test/src/changes/archunit-store/stored.rules

    methods\ that\ are\ mutable\ public\ API\ properties\ and\ do\ not\ have\ raw\ return\ type\ org.gradle.api.resources.TextResource\ and\ do\ not\ have\ raw\ return\ type\ assignable\ to\ org.gradle.api.file.FileCollection\ should\ have\ return\ type\ Provider=public-api-mutable-properties.txt
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. platforms/software/reporting/src/main/java/org/gradle/api/reporting/CustomizableHtmlReport.java

         */
        @Nullable
        @Optional
        @Nested
        TextResource getStylesheet();
    
        /**
         * The stylesheet to use to generate the report.
         *
         * @param stylesheet the stylesheet to use to generate the HTML report
         */
        void setStylesheet(@Nullable TextResource stylesheet);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/CodeNarc.java

         *
         * @since 2.2
         */
        @Nested
        public TextResource getConfig() {
            return config;
        }
    
        /**
         * The CodeNarc configuration to use. Replaces the {@code configFile} property.
         *
         * @since 2.2
         */
        public void setConfig(TextResource config) {
            this.config = config;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 19 14:14:11 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/UriTextResourceLoader.java

     * limitations under the License.
     */
    
    package org.gradle.api.internal.artifacts.dsl.dependencies;
    
    import org.gradle.internal.resource.TextResource;
    
    import java.net.URI;
    
    public interface UriTextResourceLoader {
        TextResource getResource(URI source);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 21:13:10 UTC 2017
    - 836 bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/resources/internal/TextResourceInternal.java

     * limitations under the License.
     */
    
    package org.gradle.api.resources.internal;
    
    import org.gradle.api.resources.TextResource;
    import org.gradle.api.tasks.Internal;
    import org.gradle.internal.resource.Resource;
    
    public interface TextResourceInternal extends TextResource, Resource {
        @Internal
        @Override
        String getDisplayName();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 13 14:06:19 UTC 2019
    - 922 bytes
    - Viewed (0)
  7. testing/architecture-test/src/test/java/org/gradle/architecture/test/ProviderMigrationArchitectureTest.java

            .that(are(mutable_public_API_properties))
            .should().notHaveRawReturnType(TextResource.class));
    
        @ArchTest
        public static final ArchRule public_api_task_properties_are_providers = freeze(methods()
            .that(are(task_properties))
            .and().doNotHaveRawReturnType(TextResource.class)
            .and().doNotHaveRawReturnType(assignableTo(FileCollection.class))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/resources/ResourceHandler.java

         */
        ReadableResource bzip2(Object path);
    
        /**
         * Returns a factory for creating {@code TextResource}s from various sources such as
         * strings, files, and archive entries.
         *
         * @since 2.2
         *
         * @return a factory for creating {@code TextResource}s
         */
        TextResourceFactory getText();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 10 09:43:44 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/initialization/InitScriptHandler.java

    import org.gradle.internal.operations.BuildOperationRunner;
    import org.gradle.internal.operations.RunnableBuildOperation;
    import org.gradle.internal.resource.TextFileResourceLoader;
    import org.gradle.internal.resource.TextResource;
    
    import java.io.File;
    import java.util.List;
    
    /**
     * Finds and executes all init scripts for a given build.
     */
    public class InitScriptHandler {
        private final InitScriptProcessor processor;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/file/FileOrUriNotationConverterTest.groovy

            when:
            def object = parse(notation)
            then:
            object == testFile
        }
    
        def "with TextResource returns the underlying File"() {
            setup:
            def testFile = folder.createFile("test1")
            def notation = Stub(TextResource)
            notation.asFile() >> testFile
            when:
            def object = parse(notation)
            then:
            object == testFile
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 16:59:26 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top