Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for toBeforeEvaluate (0.17 sec)

  1. subprojects/core/src/test/groovy/org/gradle/configuration/project/LifecycleProjectEvaluatorTest.groovy

            then:
            state.executed
            0 * delegate._
    
            and:
            operations.empty
        }
    
        void "nothing happens if project is being configured now"() {
            given:
            state.toBeforeEvaluate()
    
            when:
            evaluate()
    
            then:
            state.configuring
            0 * delegate._
    
            and:
            operations.empty
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/configuration/project/LifecycleProjectEvaluator.java

                project.getOwner().applyToMutableState(p -> {
                    // Note: beforeEvaluate and afterEvaluate ops do not throw, instead mark state as failed
                    try {
                        state.toBeforeEvaluate();
                        buildOperationRunner.run(new NotifyBeforeEvaluate(project, state));
    
                        if (!state.hasFailure()) {
                            state.toEvaluate();
                            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top