Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 305 for realizes (0.21 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/UnmanagedNodeBackedModelMapTest.groovy

            }
        }
    
        def "reasonable error message when creating a non-constructible type"() {
            when:
            mutate {
                create("foo", NonConstructibleNamedThing)
            }
            realize()
    
            then:
            def e = thrown ModelRuleExecutionException
            e.cause instanceof ObjectInstantiationException
            e.cause.message == "Could not create an instance of type $NonConstructibleNamedThing.name."
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

            if (agentJarNames.isEmpty()) {
                return
            }
            var replacementsCount = 0
            // readLines eats EOLs, so we need to use postfix to make sure the last line ends with EOL too.
            writeBytes(readLines().joinToString(separator = separator, postfix = separator) { line ->
                when {
                    // We assume that the declaration is not empty.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 24 10:25:27 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/KotlinStdlibFileInterceptors.java

            @KotlinDefaultMask int mask,
            @CallerClassName String consumer
        ) throws Throwable {
            Instrumented.fileOpened(self, consumer);
            return mask == 0
                ? FilesKt.readLines(self, charset)
                : invokeKotlinStaticDefault(READ_LINES_DEFAULT, mask, self, charset);
        }
    
        @InterceptCalls
        @StaticMethod(ofClass = FilesKt.class)
        public static Object intercept_useLines(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 12:34:20 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. docs/es/docs/deployment/index.md

    # Despliegue - Introducción
    
    Desplegar una aplicación hecha con **FastAPI** es relativamente fácil.
    
    ## ¿Qué significa desplegar una aplicación?
    
    **Desplegar** una aplicación significa realizar una serie de pasos para hacerla **disponible para los usuarios**.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Feb 07 11:55:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/plugins/BinaryBasePluginTest.groovy

            when:
            dsl {
                apply plugin: BinaryBasePlugin
                model {
                    baseBinary(BinarySpec) {
                    }
                }
            }
    
            then:
            realize("baseBinary") instanceof BinarySpec
        }
    
        def "adds a 'binaries' container to the project model"() {
            when:
            dsl {
                apply plugin: BinaryBasePlugin
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesIntegrationTest.groovy

        }
    
        @Issue("https://github.com/gradle/gradle/issues/18622")
        def "custom Test tasks eagerly realized prior to Java and Test Suite plugin application do not fail to be configured when combined with test suites"() {
            buildFile << """
                tasks.withType(Test) {
                    // realize all test tasks
                }
                tasks.register("mytest", Test)
                apply plugin: 'java'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 13 20:36:32 UTC 2023
    - 35.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FilesTest.java

                return collector;
              }
            };
        assertThat(Files.readLines(temp, Charsets.UTF_8, collect)).isEmpty();
    
        PrintWriter w = new PrintWriter(Files.newWriter(temp, Charsets.UTF_8));
        w.println("hello");
        w.println("");
        w.println(" world  ");
        w.println("");
        w.close();
        Files.readLines(temp, Charsets.UTF_8, collect);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/task_configuration_avoidance.adoc

    ----
    =====
    ====
    Executing the `gradle check` task should execute `verificationTask`, but with this example, it won't.
    This is because the dependency between `verificationTask` and `check` only happens when `verificationTask` is realized.
    To avoid issues like this, you must only modify the task associated with the configuration action.
    Other tasks should be modified in their own configuration action:
    +
    ====
    [.multi-language-sample]
    =====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 27 23:45:25 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultProviderTest.groovy

            return "other3"
        }
    
        @Override
        ManagedFactory managedFactory() {
            return new ManagedFactories.ProviderManagedFactory()
        }
    
        def "toString() does not realize value"() {
            given:
            def providerWithBadValue = new DefaultProvider<String>({
                throw new RuntimeException()
            })
    
            expect:
            providerWithBadValue.toString() == "provider(?)"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:32 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/NamedDomainObjectContainerIntegrationTest.groovy

                    tasks.create(it.name)
                }
                toBeRealized.get()
    
                task verify {
                    doLast {
                        assert tasks.findByName("realized") != null
                        assert tasks.findByName("toBeRealized") != null
                    }
                }
            """
    
            expect:
            succeeds "verify"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top