Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for addMixin (0.05 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy

            ClassExtensionMetaData extensionMetaData = new ClassExtensionMetaData('org.gradle.Class')
            extensionMetaData.addMixin('a', 'org.gradle.ExtensionA1')
            extensionMetaData.addMixin('a', 'org.gradle.ExtensionA2')
            extensionMetaData.addMixin('b', 'org.gradle.ExtensionB')
            ClassDoc extensionA1 = classDoc('org.gradle.ExtensionA1')
            ClassDoc extensionA2 = classDoc('org.gradle.ExtensionA2')
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.5K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassExtensionMetaData.groovy

        final Set<MixinMetaData> mixinClasses = []
        final Set<ExtensionMetaData> extensionClasses = []
    
        ClassExtensionMetaData(String targetClass) {
            this.targetClass = targetClass
        }
    
        def void addMixin(String plugin, String mixinClass) {
            mixinClasses.add(new MixinMetaData(plugin, mixinClass))
        }
    
        def void addExtension(String plugin, String extension, String extensionClass) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

                        extensions[targetClass] = extension
                    }
                    def mixinClass = e.'@mixinClass'
                    if (mixinClass) {
                        extension.addMixin(pluginId, mixinClass)
                    }
                    def extensionClass = e.'@extensionClass'
                    if (extensionClass) {
                        def extensionId = e.'@id'
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 9.8K bytes
    - Viewed (0)
Back to top