Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 204 for buildDir (0.28 sec)

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

                        }
                    )
                )
            """
    
            when:
            buildDir.mkdir()
            configurationCacheRun 'clean'
    
            then:
            configurationCache.assertStateStored()
    
            and:
            buildDir.assertDoesNotExist()
    
            when:
            buildDir.mkdir()
            configurationCacheRun 'clean'
    
            then:
            configurationCache.assertStateLoaded()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheHost.kt

                // Root project is registered when the settings are created, just need to adjust its properties
                val descriptor = rootProjectDescriptor()
                descriptor.name = rootProjectName
                descriptor.projectDir = projectDir
                buildDirs[Path.ROOT] = buildDir
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromKotlinDslIntegrationTest.groovy

                gradle.${invocation} { println(buildDir) }
            """
    
            when:
            isolatedProjectsFails(":a:help", ":b:help")
    
            then:
            fixture.assertStateStoredAndDiscarded {
                projectsConfigured(":", ":a", ":b")
                problem("Build file 'a/build.gradle.kts': Project ':a' cannot access 'Project.buildDir' functionality on another project ':b'")
            }
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheBuild.kt

    
    interface ConfigurationCacheBuild {
    
        val gradle: GradleInternal
    
        val state: BuildState
    
        fun registerRootProject(rootProjectName: String, projectDir: File, buildDir: File)
    
        fun registerProject(projectPath: Path, dir: File, buildDir: File)
    
        fun getProject(path: String): ProjectInternal
    
        // Creates all registered projects for this build
        fun createProjects()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGroovyClosureIntegrationTest.groovy

            }
    
            where:
            expression       | _
            "buildDir"       | _
            "this.buildDir"  | _
            "owner.buildDir" | _
        }
    
        def "from-cache build fails when task action closure sets a project property"() {
            given:
            buildFile << """
                tasks.register("some") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromGroovyDslIntegrationTest.groovy

                    ${invocation} { println(it.buildDir) }
                }
            """
    
            when:
            isolatedProjectsFails(":a:help", ":b:help")
    
            then:
            fixture.assertStateStoredAndDiscarded {
                projectsConfigured(":", ":a", ":b")
                problem("Build file 'a/build.gradle': line 3: Project ':a' cannot access 'Project.buildDir' functionality on $message", accessedProjects)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaIntegrationTest.groovy

            given:
            buildWithSingleSourceFile()
    
            def buildDir = file("build")
            buildDir.mkdirs()
    
            expect:
            configurationCacheRun "clean"
            assertStateStored()
            result.assertTasksExecuted(":clean")
            !buildDir.exists()
    
            when:
            buildDir.mkdirs()
            configurationCacheRun "clean"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ProblemReportingCrossProjectModelAccess.kt

            override fun getBuildDir(): File {
                onAccess("buildDir")
                @Suppress("DEPRECATION")
                return delegate.buildDir
            }
    
            @Deprecated("Use layout.buildDirectory instead")
            override fun setBuildDir(path: File) {
                onAccess("buildDir")
                @Suppress("DEPRECATION")
                delegate.buildDir = path
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CachedBuildState.kt

        val path: Path,
        val projectDir: File,
        val buildFile: File
    )
    
    
    internal
    class ProjectWithWork(
        path: Path,
        projectDir: File,
        buildFile: File,
        val buildDir: File,
        val normalizationState: InputNormalizationHandlerInternal.CachedState?
    ) : CachedProjectState(path, projectDir, buildFile)
    
    
    internal
    class ProjectWithNoWork(
        path: Path,
        projectDir: File,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblems.kt

        private
        fun ConfigurationCacheStartParameter.requestedTasksOrDefault() =
            requestedTaskNames.takeIf { it.isNotEmpty() }?.joinToString(" ")
    
        private
        fun outputDirectoryFor(buildDir: File): File =
            buildDir.resolve("reports/configuration-cache/$cacheKey")
    
        private
        inner class BuildNameHandler : InternalBuildAdapter() {
            override fun settingsEvaluated(settings: Settings) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top