Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for ProjectDescriptor (0.42 sec)

  1. subprojects/core/src/test/groovy/org/gradle/initialization/DefaultSettingsLoaderTest.groovy

            def projectDescriptor = Mock(DefaultProjectDescriptor) {
                getPath() >> ":"
            }
            def services = Mock(ServiceRegistry)
            startParameter.setCurrentDir(buildLayout.settingsDir)
    
            settings.getProjectRegistry() >> projectRegistry
            projectRegistry.getAllProjects() >> Collections.singleton(projectDescriptor)
            projectDescriptor.getProjectDir() >> buildLayout.settingsDir
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 14 20:50:34 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/initialization/DefaultProjectDescriptorRegistry.java

        @Override
        public void changeDescriptorPath(Path oldPath, Path newPath) {
            DefaultProjectDescriptor projectDescriptor = removeProject(oldPath.toString());
            projectDescriptor.setPath(newPath);
            addProject(projectDescriptor);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 10:39:11 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/ProjectAccessorsSourceGeneratorTest.groovy

            accessor.fooUtils instanceof ProjectDependency
            accessor.foo.fooLib instanceof ProjectDependency
            accessor.foo.fooUtils instanceof ProjectDependency
        }
    
        ProjectDescriptor project(String name, @DelegatesTo(value = ProjectDescriptor, strategy = Closure.DELEGATE_FIRST) Closure<?> spec = {}) {
            def builder = new ProjectDescriptorBuilder(name, null)
            spec.delegate = builder
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/project/IProjectFactory.java

    /**
     * Creates a {@link ProjectInternal} implementation.
     */
    @ServiceScope(Scope.Build.class)
    public interface IProjectFactory {
        ProjectInternal createProject(
            GradleInternal gradle,
            ProjectDescriptor projectDescriptor,
            ProjectState owner,
            @Nullable ProjectInternal parent,
            ServiceRegistryFactory serviceRegistryFactory,
            ClassLoaderScope selfClassLoaderScope,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/ProjectAccessorsSourceGenerator.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.api.internal.catalog;
    
    import org.gradle.api.initialization.ProjectDescriptor;
    
    import java.io.IOException;
    import java.io.UncheckedIOException;
    import java.io.Writer;
    
    public class ProjectAccessorsSourceGenerator extends AbstractProjectAccessorsSourceGenerator {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/RootProjectAccessorSourceGenerator.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.api.internal.catalog;
    
    import org.gradle.api.initialization.ProjectDescriptor;
    
    import java.io.IOException;
    import java.io.UncheckedIOException;
    import java.io.Writer;
    
    public class RootProjectAccessorSourceGenerator extends AbstractProjectAccessorsSourceGenerator {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/initialization/DefaultProjectDescriptor.java

     * limitations under the License.
     */
    package org.gradle.initialization;
    
    import com.google.common.base.Objects;
    import org.gradle.api.Project;
    import org.gradle.api.initialization.ProjectDescriptor;
    import org.gradle.api.initialization.Settings;
    import org.gradle.api.internal.DocumentationRegistry;
    import org.gradle.api.internal.project.ProjectIdentifier;
    import org.gradle.internal.Cast;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/initialization/Settings.java

         */
        @Restricted
        ProjectDescriptor getRootProject();
    
        /**
         * <p>Returns the project with the given path.</p>
         *
         * @param path The path.
         * @return The project with the given path. Never returns null.
         * @throws UnknownProjectException If no project with the given path exists.
         */
        ProjectDescriptor project(String path) throws UnknownProjectException;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 08:36:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  9. subprojects/composite-builds/src/test/groovy/org/gradle/composite/internal/DefaultIncludedBuildRegistryTest.groovy

            modelServices.servicesForBuild(_, _, _) >> Mock(BuildModelControllerServices.Supplier)
            settings.rootProject >> Stub(ProjectDescriptor) {
                getName() >> "root"
            }
            settings.findProject(_) >> {
                it[0] in projects ? Stub(ProjectDescriptor) : null
            }
    
            build.buildIdentifier >> DefaultBuildIdentifier.ROOT
            build.identityPath >> Path.ROOT
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 14:36:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. testing/performance/src/templates/kts-settings/settings.gradle

    <%
        def i = 0
        def groups = subprojects.collect { "'$it'" }.groupBy { i++ % 100 }
        groups.each {
            println "include " + it.value.join(", ")
        }
    %>
    
    def configureGradleScriptKotlinOn(ProjectDescriptor project) {
        project.buildFileName = 'build.gradle.kts'
        project.children.each { configureGradleScriptKotlinOn(it) }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1002 bytes
    - Viewed (0)
Back to top