Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,411 for naked (0.07 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/JavaEcosystemAttributesDescriberTest.groovy

        }
    
        def "describes a library with MAX_VALUE target JVM version"() {
            when:
            attributes.attribute(Usage.USAGE_ATTRIBUTE, named(Usage, "java-api"))
                .attribute(Category.CATEGORY_ATTRIBUTE, named(Category, "library"))
                .attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, named(LibraryElements, "jar"))
                .attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, Integer.MAX_VALUE)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 13 17:05:19 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/DefaultTargetMachineFactory.java

            DefaultNativePlatform host = DefaultNativePlatform.host();
            OperatingSystemFamily operatingSystemFamily = objectFactory.named(OperatingSystemFamily.class, host.getOperatingSystem().toFamilyName());
            MachineArchitecture machineArchitecture = objectFactory.named(MachineArchitecture.class, host.getArchitecture().getName());
            return new TargetMachineImpl(operatingSystemFamily, machineArchitecture);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/PolymorphicManagedTypeIntegrationTest.groovy

                    @Mutate
                    void setName(Named named) {
                        named.name = "superclass"
                    }
    
                    @Mutate
                    void addTask(ModelMap<Task> tasks, Named named) {
                        tasks.create("echo") {
                            it.doLast {
                                println "name: $named.name"
                            }
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr2_build_lifecycle.adoc

    }
    
    tasks.named("task1"){
        println("NAMED TASK1: This is executed during the configuration phase")
        doFirst {
            println("NAMED TASK1 - doFirst: This is executed during the execution phase")
        }
        doLast {
            println("NAMED TASK1 - doLast: This is executed during the execution phase")
        }
    }
    
    tasks.named("task2"){
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 05:44:04 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. maven-di/src/test/java/org/apache/maven/di/impl/InjectorImplTest.java

        }
    
        static class PriorityTest {
    
            interface MyService {}
    
            @Named
            static class MyServiceImpl implements MyService {}
    
            @Named
            @Priority(10)
            static class MyPriorityServiceImpl implements MyService {}
    
            @Named
            static class MyMojo {
                @Inject
                MyService service;
            }
        }
    
        @Test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 17:13:31 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/buildCache/integration-tests/groovy/build.gradle

        testClassesDirs = sourceSets.integTest.output.classesDirs
    }
    
    // tag::integTest[]
    tasks.named('integTest') {
        inputs.property("operatingSystem") {
            System.getProperty("os.name")
        }
    }
    // end::integTest[]
    
    // tag::distributionPathInput[]
    // Don't do this! Breaks relocatability!
    tasks.named('integTest') {
        systemProperty "distribution.location", layout.buildDirectory.dir('dist').get().asFile.absolutePath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-crossProjectPublications-advanced/kotlin/producer/build.gradle.kts

            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.LIBRARY))
            attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_RUNTIME))
            attribute(Bundling.BUNDLING_ATTRIBUTE, objects.named(Bundling.EXTERNAL))
            attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, JavaVersion.current().majorVersionNumber)
            attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named("instrumented-jar"))
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 927 bytes
    - Viewed (0)
  8. pkg/kube/krt/join_test.go

    	c1 := krt.NewStatic[Named](nil)
    	c2 := krt.NewStatic[Named](nil)
    	c3 := krt.NewStatic[Named](nil)
    	j := krt.JoinCollection([]krt.Collection[Named]{c1.AsCollection(), c2.AsCollection(), c3.AsCollection()})
    	last := atomic.NewString("")
    	j.Register(func(o krt.Event[Named]) {
    		last.Store(o.Latest().ResourceName())
    	})
    	assert.EventuallyEqual(t, last.Load, "")
    	c1.Set(&Named{"c1", "a"})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. tests/named_argument_test.go

    		t.Errorf("failed to update with named arg")
    	}
    
    	AssertEqual(t, result4, namedUser)
    
    	if err := DB.Exec("UPDATE named_users SET name1 = @name, name2 = @name2, name3 = @name", sql.Named("name", "jinzhu-new"), sql.Named("name2", "jinzhu-new2")).Error; err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Dec 21 11:50:00 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/AttributeContainerResolutionIntegrationTest.groovy

                            attributeProvider(Attribute.of("aaa", Named), provider {
                                assert getAttribute(otherAttribute).name == "other"
                                objects.named(Named, "value")
                            })
                            attributeProvider(otherAttribute, provider {
                                objects.named(Named, "other")
                            })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top