Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,426 for ExtensionB (0.25 sec)

  1. build-logic/packaging/src/main/kotlin/gradlebuild.instrumentation-metadata.gradle.kts

     */
    
    import gradlebuild.instrumentation.extensions.InstrumentationMetadataExtension
    import gradlebuild.instrumentation.extensions.InstrumentationMetadataExtension.Companion.INSTRUMENTED_METADATA_EXTENSION
    import gradlebuild.instrumentation.extensions.InstrumentationMetadataExtension.Companion.INSTRUMENTED_SUPER_TYPES_MERGE_TASK
    import gradlebuild.instrumentation.extensions.InstrumentationMetadataExtension.Companion.UPGRADED_PROPERTIES_MERGE_TASK
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 03 15:19:52 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ExtensionAwareExtensions.kt

    import kotlin.reflect.KClass
    
    
    /**
     * Returns the extension of the specified type.
     *
     * @param T the extension type.
     */
    inline fun <reified T : Any> ExtensionAware.the(): T =
        extensions.getByType(typeOf<T>())
    
    
    /**
     * Returns the extension of the specified [extensionType].
     *
     * @param T the extension type.
     * @param extensionType the reified extension type.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/plugins/greeting/kotlin/buildSrc/src/main/kotlin/greetings.gradle.kts

    // tag::convention[]
    // tag::create-extension[]
    // tag::extension[]
    // Create extension object
    interface GreetingPluginExtension {
        val message: Property<String>
    }
    // end::extension[]
    
    // Add the 'greeting' extension object to project
    val extension = project.extensions.create<GreetingPluginExtension>("greeting")
    // end::create-extension[]
    
    // Set a default value for 'message'
    extension.message.convention("Hello from Gradle")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 18:30:04 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/ProjectSchemaTest.kt

            extensions.single { it.name == name }
    }
    
    
    internal
    fun projectSchemaWith(
        extensions: TypedProjectSchemaEntryList = emptyList(),
        conventions: TypedProjectSchemaEntryList = emptyList(),
        tasks: TypedProjectSchemaEntryList = emptyList(),
        containerElements: TypedProjectSchemaEntryList = emptyList(),
        configurations: List<String> = emptyList()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  5. security/pkg/pki/util/san_test.go

    	}
    
    	testCases := map[string]struct {
    		exts           []pkix.Extension
    		expectedIDs    []string
    		expectedErrMsg string
    	}{
    		"Empty extension list": {
    			exts:           []pkix.Extension{},
    			expectedIDs:    nil,
    			expectedErrMsg: "the SAN extension does not exist",
    		},
    		"Extensions without SAN": {
    			exts: []pkix.Extension{
    				{Id: asn1.ObjectIdentifier{1, 2, 3, 4}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy

                }
                configurations {
                    test {
                        extensions.test = new Extension()
                    }
                }
                dependencies {
                    test('::name:') {
                        extensions.test = new Extension()
                    }
                    test(module('::other')) {
                        extensions.test = new Extension()
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/ProjectExtensionsTest.kt

        @Test
        fun `can get generic project extension by type`() {
    
            val project = mock<Project>()
            val convention = mock<org.gradle.api.plugins.Convention>()
            val extension = mock<NamedDomainObjectContainer<List<String>>>()
            val extensionType = typeOf<NamedDomainObjectContainer<List<String>>>()
    
            whenever(project.extensions)
                .thenReturn(convention)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  8. src/crypto/x509/x509.go

    	KeyUsage            KeyUsage
    
    	// Extensions contains raw X.509 extensions. When parsing certificates,
    	// this can be used to extract non-critical extensions that are not
    	// parsed by this package. When marshaling certificates, the Extensions
    	// field is ignored, see ExtraExtensions.
    	Extensions []pkix.Extension
    
    	// ExtraExtensions contains extensions to be copied, raw, into any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/common/extensions.kt

    Bo Zhang <******@****.***> 1716961791 +0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 13.1K bytes
    - Viewed (1)
  10. maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                    extensions.add(createExtension(extension, artifacts));
                }
            }
    
            return Collections.unmodifiableList(extensions);
        }
    
        private CoreExtensionEntry createExtension(CoreExtension extension, List<Artifact> artifacts) throws Exception {
            String realmId = "coreExtension>" + extension.getGroupId() + ":" + extension.getArtifactId() + ":"
                    + extension.getVersion();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jun 12 07:49:10 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top