Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 7,636 for FILE (0.06 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaIntegrationTest.groovy

            def classFile = file("build/classes/java/main/Thing.class")
            classFile.isFile()
            def jarFile = file("build/libs/somelib.jar")
            jarFile.isFile()
    
            when:
            configurationCacheRun "clean"
    
            then:
            assertStateStored()
            !file("build").exists()
    
            when:
            configurationCacheRun "assemble"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r10rc1/PassingCommandLineArgumentsCrossVersionSpec.groovy

            }
    
            then:
            file('sysProperty.txt').text.contains('welcomeToTheJungle')
        }
    
        def "can use custom build file"() {
            given:
            file("foo.gradle") << """
            task someCoolTask
    """
    
            when:
            withConnection { ProjectConnection it ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-groovy/src/test/groovy/org/gradle/api/internal/plugins/GroovyJarFileTest.groovy

            GroovyJarFile.parse(new File("groovy-2.0.5.zip")) == null
        }
    
        def "parse 'groovy' Jar"(String fileName, String version, String dependencyNotation) {
            def jar = GroovyJarFile.parse(new File("$fileName"))
    
            expect:
            jar != null
            jar.file == new File("$fileName")
            jar.baseName == "groovy"
            jar.version == VersionNumber.parse("$version")
            !jar.groovyAll
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 19 20:09:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/caching/configuration/internal/BuildCacheCompositeConfigurationIntegrationTest.groovy

            }
    
            def mainCache = new TestBuildCache(file("main-cache"))
            def buildSrcCache = new TestBuildCache(file("buildSrc-cache"))
            def i1Cache = new TestBuildCache(file("i1-cache"))
            def i1BuildSrcCache = new TestBuildCache(file("i1-buildSrc-cache"))
            def i2Cache = new TestBuildCache(file("i2-cache"))
            def i3Cache = new TestBuildCache(file("i3-cache"))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInPluginBuildScriptIntegrationTest.groovy

                if (file.endsWith(".gradle.kts")) {
                    withProblem("Settings file '${relativePath(file)}': external process started")
                } else {
                    withProblem("Settings file '${relativePath(file)}': line 5: external process started")
                }
            }
    
            where:
            snippetsFactory             | file
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/variants/GradlePluginWithVariantsPublicationIntegrationTest.groovy

            given:
            def producer = file('producer')
            def consumer = file('consumer')
            def pluginModule = mavenRepo.module('com.example', 'producer', '1.0')
            def pluginMarker = mavenRepo.module('com.example.greeting', 'com.example.greeting.gradle.plugin', '1.0')
    
            producer.file('settings.gradle') << ''
            producer.file('build.gradle') << """
                plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r72/CompositeBuildCrossVersionSpec.groovy

            """
    
    
            def childBuild = file(child)
            buildSrc(childBuild)
            def nested = "nested"
            childBuild.file("settings.gradle") << """
                includeBuild("$nested")
            """
    
            def nestedBuild = childBuild.file(nested)
            buildSrc(nestedBuild)
        }
    
        TestFile buildSrc(TestFile dir) {
            def buildSrc = dir.file("buildSrc")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/install/DefaultJdkCacheDirectory.java

        }
    
        private boolean isMarkedLocation(File candidate) {
            return new File(candidate, MARKER_FILE).exists();
        }
    
        private File getJavaHome(File location) {
            if (OperatingSystem.current().isMacOsX()) {
                if (new File(location, MAC_OS_JAVA_HOME_FOLDER).exists()) {
                    return new File(location, MAC_OS_JAVA_HOME_FOLDER);
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 23:47:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. src/os/file_unix.go

    // methods to stop working.
    // Because file descriptors can be reused, the returned file descriptor may
    // only be closed through the [File.Close] method of f, or by its finalizer during
    // garbage collection. Otherwise, during garbage collection the finalizer
    // may close an unrelated file descriptor with the same (reused) number.
    //
    // As an alternative, see the f.SyscallConn method.
    func (f *File) Fd() uintptr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  10. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultFileSystemAccess.java

                File file = new File(location);
                FileMetadata fileMetadata = this.stat.stat(file);
                switch (fileMetadata.getType()) {
                    case RegularFile:
                        HashCode hash = hasher.hash(file, fileMetadata.getLength(), fileMetadata.getLastModified());
                        return vfsStorer.store(new RegularFileSnapshot(location, file.getName(), hash, fileMetadata));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:35 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top