Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for RootProjectAccessor (0.22 sec)

  1. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/project/TypeSafeProjectAccessorsSchemaBuildingComponent.kt

    
    /**
     * Brings the typesafe project accessors into the schema if the feature is enabled by doing the following:
     * * in the [ProjectTopLevelReceiver] type, introduces a `projects` property of type `RootProjectAccessor`;
     * * brings the `RootProjectAccessor` type into type discovery, and
     * * ensures type discovery going recursively over the generated typesafe accessor containers (see [TypesafeProjectAccessorTypeDiscovery]);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/ProjectAccessorsSourceGeneratorTest.groovy

        def "generates accessors for a single project"() {
            when:
            generateSources project("root")
    
            then:
            generatedCode['RootProjectAccessor'].with {
                hasSubprojectAccessors(":")
            }
            generatedCode['RootProjectDependency'].with {
                noSubAccessors()
            }
    
            and:
            compiles()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/typesafe/TypeSafeProjectAccessorsCompositeBuildsIntegrationTest.groovy

            """
    
            when:
            fails 'help'
    
            then:
            failureCauseContains("Could not get unknown property 'other' for extension 'projects' of type org.gradle.accessors.dm.RootProjectAccessor")
            // Desired behavior:
    //        outputContains 'Dependency path: ":other"'
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 15:31:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/RootProjectAccessorSourceGenerator.java

    import java.io.UncheckedIOException;
    import java.io.Writer;
    
    public class RootProjectAccessorSourceGenerator extends AbstractProjectAccessorsSourceGenerator {
    
        public static final String ROOT_PROJECT_ACCESSOR_CLASSNAME = "RootProjectAccessor";
    
        public RootProjectAccessorSourceGenerator(Writer writer) {
            super(writer);
        }
    
        public static void generateSource(Writer writer,
                                          ProjectDescriptor root,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top