Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 59 for exists (0.5 sec)

  1. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/tasks/RemoteProject.groovy

            moveToOutputDir(checkoutDir, outputDirectory, subdirectory.getOrNull())
        }
    
        private static File cleanTemporaryDir(FileSystemOperations fsOps, File tmpDir) {
            if (tmpDir.exists()) {
                fsOps.delete {
                    it.delete(tmpDir)
                }
            }
            return tmpDir
        }
    
        @TypeChecked(TypeCheckingMode.SKIP)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jul 06 10:57:13 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt

            try {
                JarOutputStream(BufferedOutputStream(FileOutputStream(jarFile))).use { jarOutputStream ->
                    if (manifestFile.exists()) {
                        jarOutputStream.addJarEntry(JarFile.MANIFEST_NAME, manifestFile)
                    }
                    val visited = linkedSetOf<ClassDetails>()
                    for (classDetails in classGraph.entryPoints) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/CompilePrecompiledScriptPluginPlugins.kt

                            PrecompiledPluginsBlock::class,
                            implicitImportsForPrecompiledScriptPlugins(implicitImports)
                        ),
                        classPathFiles.filter { it.exists() },
                        logger,
                    ) { it } // TODO: translate paths
            }
        }
    
        @Suppress("DEPRECATION")
        private
        fun resolveJvmTarget(): JavaVersion =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:57 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AntFileCollectionMatchingTaskBuilder.java

            final Iterable<DirectoryTree> existing = Lists.newLinkedList(
                FluentIterable
                    .from(fileTrees)
                    .filter(new Predicate<DirectoryTree>() {
                        @Override
                        public boolean apply(DirectoryTree input) {
                            return input.getDir().exists();
                        }
                    })
            );
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/PluginDependenciesSpecScope.kt

    import org.gradle.plugin.use.PluginDependenciesSpec
    import org.gradle.plugin.use.PluginDependency
    import org.gradle.plugin.use.PluginDependencySpec
    
    
    /**
     * Receiver for the `plugins` block.
     *
     * This class exists for the sole purpose of marking the `plugins` block as a [GradleDsl] thus
     * hiding all members provided by the outer script scope.
     *
     * @see [PluginDependenciesSpec]
     */
    @GradleDsl
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/PolymorphicDomainObjectContainerExtensions.kt

     * exists or the container does not support creating a domain object with the specified
     * type
     */
    @Suppress("extension_shadowed_by_member")
    inline fun <reified U : Any> PolymorphicDomainObjectContainer<in U>.create(name: String) =
        create(name, U::class.java)
    
    
    /**
     * Creates a domain object with the specified name and type if it does not exists, and adds it to the container.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/FolderBasedTest.kt

                parentFile.mkdirs()
                writeText(content)
            }
    
        fun existing(fileName: String): File =
            canonicalFile(fileName).also {
                require(it.exists()) { "$it doesn't exist" }
            }
    
        fun canonicalFile(fileName: String): File =
            file(fileName).canonicalFile
    
        fun file(fileName: String): File =
            root.resolve(fileName)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildProfileIntegrationTest.groovy

            findReport()
        }
    
        private TestFile findReport() {
            def reportFile = file('build/reports/profile').listFiles().find { it.name ==~ /profile-.+.html/ }
            assert reportFile && reportFile.exists()
            reportFile
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/PublishArtifactLocalArtifactMetadataCodec.kt

    import org.gradle.internal.serialize.graph.Codec
    import org.gradle.internal.serialize.graph.ReadContext
    import org.gradle.internal.serialize.graph.WriteContext
    
    
    /**
     * This class exists because PublishArtifactLocalArtifactMetadata is used as its own id, and so when serialized as an id causes
     * a lot of unnecessary and unserializable state to be dragged in.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ExtensionContainerExtensions.kt

     *
     * @param T the public type of the added extension
     * @param name the name of the extension
     * @param extension the extension instance
     *
     * @throws IllegalArgumentException When an extension with the given name already exists.
     *
     * @see [ExtensionContainer.add]
     * @since 5.0
     */
    @Suppress("extension_shadowed_by_member")
    inline fun <reified T : Any> ExtensionContainer.add(name: String, extension: T) {
        add(typeOf<T>(), name, extension)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top