Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 135 for projectFor (0.42 sec)

  1. platforms/software/build-init/src/main/java/org/gradle/buildinit/tasks/InitBuild.java

        static final int MINIMUM_VERSION_SUPPORTED_BY_FOOJAY_API = 7;
        static final int DEFAULT_JAVA_VERSION = 21;
    
        private final Directory projectDir = getProject().getLayout().getProjectDirectory();
        private String type;
        private final Property<Boolean> splitProject = getProject().getObjects().property(Boolean.class);
        private String dsl;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 10 12:58:10 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionPropertyIntegrationTest.groovy

                    }
                }
    
                task show(type: SomeTask) {
                    def layout = project.layout
                    prop = [layout.projectDir.file("in.txt")]
                    doFirst {
                        prop.set([layout.projectDir.file("other.txt")])
                    }
                }
    """
            file("in.txt").createFile()
    
            when:
            fails("show")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectStateRegistryTest.groovy

            registry.stateFor(root.componentIdentifier).is(root)
            registry.stateFor(p1.componentIdentifier).is(p1)
            registry.stateFor(p2.componentIdentifier).is(p2)
    
            def projects = registry.projectsFor(build.buildIdentifier)
            projects.rootProject.is(root)
            projects.getProject(Path.ROOT).is(root)
            projects.getProject(Path.path(":p1")).is(p1)
            projects.getProject(Path.path(":p2")).is(p2)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelElementNode.java

            // TODO:LPTR Remove projection for reference node
            // This shouldn't be needed, but if there's no actual value referenced, model report can only
            // show the type of the node if we do this for now. It should use the schema instead to find
            // the type of the property node instead.
            ModelProjection projection = new EmptyReferenceProjection<T>(type);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformEnvironmentIntegrationTest.groovy

                    useJUnitPlatform()
    
                    systemProperties.isJava9 = "\${JavaVersion.current().isJava9Compatible()}"
                    systemProperties.testSysProperty = 'value'
                    systemProperties.projectDir = projectDir
                    environment.TEST_ENV_VAR = 'value'
                    testLogging.showStandardStreams = true
                }
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  6. subprojects/build-events/src/integTest/groovy/org/gradle/build/event/BuildEventsIntegrationTest.groovy

                import org.junit.Test
    
                class MyTest {
                    @Test void test() {
                        def projectDir = new File("${TextUtil.normaliseFileSeparators(testProjectDir.absolutePath)}")
                        new File(projectDir, 'settings.gradle').text = ""
                        new File(projectDir, 'build.gradle').text = '''
                            plugins { id 'my-plugin' }
                        '''
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java

                            }
                            try {
                                projectOs.writeTo(originalSystemOUtStream);
                            } catch (IOException e) {
                                throw new RuntimeException(e);
                            }
    
                            projectOs.reset();
                        }
                    } while (!completedBuilds.contains(projectBuild));
                }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  8. 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)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt

                    ProjectWithWork(project.projectPath, mutableModel.projectDir, mutableModel.buildFile, mutableModel.layout.buildDirectory.asFile.get(), mutableModel.normalization.computeCachedState())
                } else {
                    ProjectWithNoWork(project.projectPath, mutableModel.projectDir, mutableModel.buildFile)
                }
            }
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  10. subprojects/core-api/src/test/groovy/org/gradle/StartParameterTest.groovy

            when:
            parameter.projectDir = file
    
            then:
            parameter.currentDir == file.canonicalFile
            assertThat(parameter, isSerializable())
        }
    
        void "can configure null project dir"() {
            StartParameter parameter = new StartParameter()
            parameter.projectDir = new File('test/project dir')
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 06:24:50 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top