File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed
plugin/src/main/groovy/org/grails/plugins/modules Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2022-2023 the original author or authors.
2+ * Copyright 2022-2025 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1515 */
1616package org.grails.plugins.modules
1717
18- import grails.plugins.Plugin
18+ import groovy.transform.CompileStatic
19+
20+ import grails.plugins.descriptors.WebItemModuleDescriptor
21+ import grails.plugins.descriptors.WebSectionModuleDescriptor
22+ import grails.plugins.DynamicPlugin
1923import grails.util.GrailsUtil
2024
21- class DynamicModulesGrailsPlugin extends Plugin {
25+ /**
26+ * Provide Dynamic Modules for {@link DynamicPlugin}.
27+ *
28+ * @author Michael Yan
29+ * @since 1.0
30+ */
31+ @CompileStatic
32+ class DynamicModulesGrailsPlugin extends DynamicPlugin {
2233
2334 def version = ' 1.0.0-SNAPSHOT'
2435 def grailsVersion = " 2023.0.0 > *"
36+
37+ def providedModules = [
38+ WebItemModuleDescriptor ,
39+ WebSectionModuleDescriptor
40+ ]
41+
2542 def title = ' Grace Dynamic Modules Plugin'
2643 def author = ' Michael Yan'
2744 def authorEmail
= ' [email protected] '
You can’t perform that action at this time.
0 commit comments