Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 150 for CLOSURE (0.19 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/ProjectConfigurationIntegrationTest.groovy

            then:
            output.contains "the name: foobar"
        }
    
        @ToBeFixedForIsolatedProjects(because = "allprojects, evaluationDependsOn")
        def "shows deprecation warning when calling Project#afterEvaluate(Closure) after the project was evaluated"() {
            buildFile << '''
                allprojects { p ->
                    println "[1] Adding afterEvaluate for $p.name"
                    p.afterEvaluate {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

        def singleProjectBuild(String projectName, @DelegatesTo(value = BuildTestFile, strategy = Closure.DELEGATE_FIRST) Closure cl = {}) {
            buildTestFixture.singleProjectBuild(projectName, cl)
        }
    
        def multiProjectBuild(String projectName, List<String> subprojects, @DelegatesTo(value = BuildTestFile, strategy = Closure.DELEGATE_FIRST) Closure cl = {}) {
            multiProjectBuild(projectName, subprojects, CompiledLanguage.JAVA, cl)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/SystemPropertyPropagationCrossVersionTest.groovy

            }
    
            then:
            hasNoSystemProperty('java.io.tmpdir', customTmpDir)
        }
    
        private void runTask(@DelegatesTo(value = BuildLauncher, strategy = Closure.DELEGATE_ONLY) Closure<?> launcherSpec = {}) {
            withConnection {
                def launcher = newBuild().forTasks('printSystemProperty')
                launcherSpec.delegate = launcher
                launcherSpec()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/BuildScriptErrorIntegrationTest.groovy

                    .assertHasFileName("Build file '$buildFile'")
                    .assertHasLineNumber(4)
        }
    
        @Issue("https://github.com/gradle/gradle/issues/14984")
        def "referencing a non-existing closure-taking method yields a helpful error message"() {
            buildFile << """
                plugins {
                    id("java")
                }
    
                java {
                    toolchains { // should be toolchain
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 17:01:37 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. src/internal/bytealg/equal_loong64.s

    eq:
    	MOVV	$1, R4
    	RET
    
    // memequal_varlen(a, b unsafe.Pointer) bool
    TEXT runtime·memequal_varlen<ABIInternal>(SB),NOSPLIT,$40-17
    	BEQ	R4, R5, eq
    	MOVV	8(REGCTXT), R6    // compiler stores size at offset 8 in the closure
    	MOVV	R4, 8(R3)
    	MOVV	R5, 16(R3)
    	MOVV	R6, 24(R3)
    	JAL	runtime·memequal(SB)
    	MOVBU	32(R3), R4
    	RET
    eq:
    	MOVV	$1, R4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 875 bytes
    - Viewed (0)
  6. platforms/ide/tooling-api-builders/build.gradle.kts

        api(project(":problems-api"))
        api(project(":service-provider"))
        api(project(":tooling-api"))
    
        runtimeOnly(project(":composite-builds"))
        runtimeOnly(libs.groovy) // for 'Closure'
    
        testCompileOnly(project(":toolchains-jvm")) {
            because("JavaLauncher is required for mocking Test.")
        }
        testImplementation(project(":file-collections"))
        testImplementation(project(":platform-jvm"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ScriptDependencyResolveIntegrationTest.groovy

            expect:
            succeeds 'buildEnvironment'
            outputContains('org.apache.logging.log4j:log4j-core:{require 2.17.1; reject [2.0, 2.17.1)} -> 3.1.0 (c)')
        }
    
        def "can use configuration closure in buildscript block"() {
            buildFile << """
                buildscript {
                    configurations {
                        foo {
                            attributes {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r50/ArgumentPassingCrossVersionTest.groovy

            BuildEnvironment env
            withConnection {
                def builder = it.model(BuildEnvironment)
                config(builder)
                env = builder.get()
            }
            env
        }
    
        private String runBuild(@ClosureParams(value = SimpleType, options = ["org.gradle.tooling.BuildLauncher"]) Closure config) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/DefaultConvention.java

            return args.length == 1 &&
                (args[0] instanceof Closure || args[0] instanceof Action) &&
                extensionsStorage.hasExtension(name);
        }
    
        private Object configureExtension(String name, Object[] args) {
            Action<Object> action;
            if (args[0] instanceof Closure) {
                action = ConfigureUtil.configureUsing(Cast.uncheckedCast(args[0]));
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/cc/io_test.cc

        return nullptr;
      }
    
      bool GetCurrentThreadName(tsl::string* name) override { return false; }
    
      void SchedClosure(absl::AnyInvocable<void()> closure) override {}
    
      void SchedClosureAfter(int64_t micros,
                             absl::AnyInvocable<void()> closure) override {}
    
      absl::Status LoadDynamicLibrary(const char* library_filename,
                                      void** handle) override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 03:28:15 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top