Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for extensionSchema (0.43 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/DefaultExtensionsSchema.java

        private DefaultExtensionsSchema(Iterable<ExtensionSchema> extensionSchemas) {
            this.extensionSchemas = extensionSchemas;
        }
    
        @Override
        public Iterator<ExtensionSchema> iterator() {
            return extensionSchemas.iterator();
        }
    
        @Override
        public Iterable<ExtensionSchema> getElements() {
            return this;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/plugins/ExtensionsSchema.java

     * @since 4.5
     */
    public interface ExtensionsSchema extends NamedDomainObjectCollectionSchema, Iterable<ExtensionsSchema.ExtensionSchema> {
    
        /**
         * {@inheritDoc}
         */
        @Override
        Iterable<ExtensionSchema> getElements();
    
        /**
         * Schema of an extension.
         *
         * @since 4.5
         */
        interface ExtensionSchema extends NamedDomainObjectCollectionSchema.NamedDomainObjectSchema {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 05 16:56:20 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl-provider-plugins/src/test/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/DefaultProjectSchemaProviderTest.kt

        internal
        open class KotlinJvmOptionsBase : KotlinJvmOptions
    
        interface KotlinJvmOptions
    
        private
        fun <T> extensionSchema(name: String, publicType: TypeOf<T>): ExtensionsSchema.ExtensionSchema = mock {
            on { getName() } doReturn name
            on { getPublicType() } doReturn publicType
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-provider/src/test/kotlin/org/gradle/internal/declarativedsl/SettingsExtensionsSchemaTest.kt

                val extensionsMock = run {
                    val myExtensionMock = mock<MyExtension>()
                    val extensionsSchemaMock = mock<ExtensionsSchema> {
                        on { elements }.thenReturn(listOf<ExtensionSchema>(object : ExtensionSchema {
                            override fun getName(): String = "myExtension"
                            override fun getPublicType(): TypeOf<*> = TypeOf.typeOf(MyExtension::class.java)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 09:57:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/GenerateVersionCatalogAccessors.kt

    import java.io.BufferedWriter
    import java.io.File
    import kotlin.reflect.KClass
    
    
    internal
    class GenerateVersionCatalogAccessors(
        private val versionCatalogExtensionSchemas: List<ExtensionsSchema.ExtensionSchema>,
        rootProject: Project,
        buildSrcClassLoaderScope: ClassLoaderScope,
        classLoaderHash: HashCode,
        fileCollectionFactory: FileCollectionFactory,
        inputFingerprinter: InputFingerprinter,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ExtensionsStorage.java

        }
    
        private static class ExtensionHolder<T> implements ExtensionsSchema.ExtensionSchema {
            private final String name;
            private final TypeOf<T> publicType;
            protected final T extension;
    
            private ExtensionHolder(String name, TypeOf<T> publicType, T extension) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 17 11:25:34 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_4.adoc

     * The `@DeferredConfigurable` annotation has been removed.
     * The method `isDeferredConfigurable()` was removed from `ExtensionSchema`.
     * `IdeaPlugin.performPostEvaluationActions()` and `EclipsePlugin.performPostEvaluationActions()` have been removed.
     * `The `BroadcastingCollectionEventRegister.getAddAction()` method has been removed with no replacement.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  8. platforms/software/antlr/src/test/groovy/org/gradle/api/plugins/antlr/AntlrPluginTest.groovy

        def 'source set extension exposes its public type'() {
            when:
            project.pluginManager.apply(AntlrPlugin)
    
            then:
            def main = project.sourceSets.main
            main.extensions.extensionsSchema.find { it.name == 'antlr' }.publicType == typeOf(AntlrSourceDirectorySet)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/DefaultConvention.java

    import groovy.lang.Closure;
    import org.gradle.api.Action;
    import org.gradle.api.internal.plugins.DslObject;
    import org.gradle.api.internal.plugins.ExtensionContainerInternal;
    import org.gradle.api.plugins.ExtensionsSchema;
    import org.gradle.api.plugins.ExtraPropertiesExtension;
    import org.gradle.api.reflect.TypeOf;
    import org.gradle.internal.Cast;
    import org.gradle.internal.Describables;
    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. platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/internal/tasks/DefaultSourceSetTest.groovy

            sourceSet.extensions.extensionsSchema.elements.size() == 1
    
            when:
            sourceSet.extensions.extraProperties.set("foo", "bar")
            sourceSet.extensions.add("bazar", "cathedral")
    
            then:
            sourceSet.extensions.extraProperties.get("foo") == "bar"
            sourceSet.extensions.extensionsSchema.elements.size() == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 10.7K bytes
    - Viewed (0)
Back to top