Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 286 for GetFile (0.45 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/resolver/ExternalResourceResolverTest.groovy

            then:
            1 * artifactResolver.resolveArtifact(artifact, _) >> Stub(LocallyAvailableExternalResource) {
                getFile() >> downloadedFile
            }
            1 * artifactResult.resolved(downloadedFile)
            0 * artifactResult._
            0 * artifactResolver._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonLogFile.java

     */
    @ServiceScope(Scope.Global.class)
    public class DaemonLogFile {
        private final File file;
    
        public DaemonLogFile(File file) {
            this.file = file;
        }
    
        public File getFile() {
            return file;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:45:11 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java

        }
    
        private List<Artifact> newTestArtifactList() {
            List<Artifact> artifacts = new ArrayList<Artifact>();
    
            Artifact artifact = mock(Artifact.class);
            when(artifact.getFile()).thenReturn(new File(new File("local/repository"), "some/path"));
            when(artifact.getGroupId()).thenReturn("group1");
            when(artifact.getArtifactId()).thenReturn("artifact1");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:53:42 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonLogFile.groovy

        private final File logFile
        private final Charset charset
    
        private DaemonLogFile(File logFile, Charset charset) {
            this.logFile = logFile
            this.charset = charset
        }
    
        File getFile() {
            return logFile
        }
    
        String getText() throws IOException {
            return logFile.getText(charset.name())
        }
    
        Stream<String> lines() throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 09:22:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/FileBackedDirectoryFileTree.java

        public FileBackedDirectoryFileTree(File file) {
            super(file.getParentFile(), new PatternSet().include(file.getName()), FileSystems.getDefault());
            this.file = file;
        }
    
        public File getFile() {
            return file;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. platforms/software/publish/src/main/java/org/gradle/api/publish/PublicationArtifact.java

    /**
     * An artifact published as part of a {@link Publication}.
     *
     * @since 4.8
     */
    public interface PublicationArtifact extends Buildable {
        /**
         * The actual file contents to publish.
         */
        File getFile();
    
        /**
         * Registers some tasks which build this artifact.
         *
         * @param tasks The tasks. These are evaluated as per {@link org.gradle.api.Task#dependsOn(Object...)}.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ResolvedArtifact.java

     */
    public interface ResolvedArtifact {
        /**
         * Returns the local file for this artifact. Downloads the artifact if not already available locally, blocking until complete.
         */
        File getFile();
    
        /**
         * Returns the module which this artifact belongs to.
         *
         * @return The module.
         */
        ResolvedModuleVersion getModuleVersion();
    
        String getName();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Aug 12 22:06:42 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaWorkspaceIntegrationTest.groovy

    idea {
        workspace {
            iws {
                withXml {
                    it.asNode().appendNode('stay', 'happy')
                }
            }
        }
    }
    '''
    
            //then
            String content = getFile([:], "root.iws").text
            assert content.contains("<foo>bar")
            assert content.contains("<stay>happy")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. platforms/software/resources/src/main/java/org/gradle/internal/resource/local/LocallyAvailableExternalResource.java

     */
    public interface LocallyAvailableExternalResource extends ExternalResource {
        /**
         * Returns a local file containing the content of this resource. This may nor may not be the original resource.
         */
        File getFile();
    
        /**
         * Does this resource currently exist?
         */
        boolean exists();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/NativeExecutableBinaryRenderer.java

        }
    
        @Override
        protected void renderOutputs(NativeExecutableBinarySpec binary, TextReportBuilder builder) {
            builder.item("executable file", binary.getExecutable().getFile());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top