Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for projectDir (0.3 sec)

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

        public final String task = 'greet'
        public final TestFile projectDir
        public final Language language
        public final Kind kind
        public final TestFile buildFile
    
        BuildLogicChangeFixture(TestFile projectDir, Language language = Language.JAVA, Kind kind = Kind.CHANGE_SOURCE) {
            this.projectDir = projectDir
            this.language = language
            this.kind = kind
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ScriptChangeFixture.groovy

            BUILDSRC_SETTINGS,
        }
    
        final TestFile projectDir
        final TestFile scriptFile
        final List<String> buildArguments
        final String expectedOutputBeforeChange = 'Hello!'
        final String expectedOutputAfterChange = 'Hi!'
    
        ScriptChangeFixture(TestFile projectDir, TestFile scriptFile, List<String> buildArguments) {
            this.projectDir = projectDir
            this.scriptFile = scriptFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildTreeStructureIntegrationTest.groovy

            assert rootProject.projectDir == testDirectory.absolutePath
            assert rootProject.buildFile == buildFile.absolutePath
            assert rootProject.children.size() == 3 // All projects are created when storing
            with(rootProject.children.first() as Map<String, Object>) {
                assert name == 'a'
                assert path == ':a'
                assert projectDir == file('a').absolutePath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CachedBuildState.kt

    internal
    sealed class CachedProjectState(
        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,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsIgnoringIntegrationTest.groovy

            given:
            buildFile("""
                println("exists = " + new File(projectDir, "file1.txt").exists())
                println("exists = " + new File(projectDir, "file2.txt").exists())
                println("exists = " + new File(projectDir, "file3.txt").exists())
            """)
    
            when:
            file("gradle.properties") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheKey.kt

                // the relative directory information must be part of the key.
                val projectDir = startParameter.projectDirectory
                if (projectDir != null) {
                    relativePathOf(
                        projectDir,
                        startParameter.rootDirectory
                    ).let { relativeProjectDir ->
                        putString(relativeProjectDir)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/StartParameter.java

         *
         * @param projectDir The project directory. May be null.
         */
        public void setProjectDir(@Nullable File projectDir) {
            if (projectDir == null) {
                setCurrentDir(null);
                this.projectDir = null;
            } else {
                File canonicalFile = FileUtils.canonicalize(projectDir);
                currentDir = canonicalFile;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 06:24:50 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheClassLoaderCachingIntegrationTest.groovy

            """
    
            // Load the StaticData class in the different sub-sub-projects
            // for a more interesting ClassLoader hierarchy.
            for (projectDir in ['foo/foo', 'bar/bar']) {
                file("$projectDir/build.gradle") << """
                    buildscript { dependencies { classpath(files('${staticDataLib.toURI()}')) } }
    
                    task ok(type: StaticData) {
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheHost.kt

            override fun registerRootProject(rootProjectName: String, projectDir: File, buildDir: File) {
                // 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)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiSpec.groovy

            new BuildTestFixture(projectDir).withBuildInRootDir().singleProjectBuild(projectName, cl)
        }
    
        BuildTestFile singleProjectBuildInSubDir(String projectName, @DelegatesTo(BuildTestFile) Closure cl = {}) {
            new BuildTestFixture(projectDir).withBuildInSubDir().singleProjectBuild(projectName, cl)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top