@@ -16,6 +16,7 @@ apply plugin: 'java-library'
1616apply plugin : ' org.grails.grails-plugin'
1717
1818ext {
19+ artifactId = ' gsp'
1920 testMaxParallelFork = isCiBuild ? 1 : 4
2021 testForkEvery = isCiBuild ? 10 : 20
2122 testJvmArgs = [' -Xmx1536M' ]
@@ -24,156 +25,134 @@ ext {
2425dependencies {
2526
2627 implementation platform(" org.grails:grails-bom:$grailsVersion " )
28+ api project(" :grails-web-gsp-taglib" )
29+ api project(" :grails-plugin-sitemesh3" )
2730
28- api project(' :grails-gsp' ), { // GroovyPageResourceLoader, GroovyPagesTemplateEngine, CachingGroovyPageStaticResourceLocator
29- /*
30- // API dependencies in grails-gsp
31- exclude group: 'org.grails', module: 'grails-bootstrap'
32- //exclude group: 'org.apache.groovy', module: 'groovy-templates' // TemplateEngine
33- */
34- }
35- api project(' :grails-web-gsp' ), { // PageRenderer
36- /*
37- // API dependencies in grails-web-gsp
38- exclude group: 'org.grails', module: 'grails-gsp'
39- exclude group: 'org.grails', module: 'grails-web-common'
40- exclude group: 'org.grails', module: 'grails-web-taglib'
41- */
42- }
43- api project(' :grails-web-taglib' ), { // TagLibraryInvoker, TagLib, TagLibrary
44- /*
45- // API dependencies in grails-web-taglib
46- exclude group: 'org.grails', module: 'grails-taglib'
47- exclude group: 'org.grails', module: 'grails-web-common'
48- */
49- }
50- api ' org.grails:grails-encoder' , { // CodecLookup, Encoder
51- /*
52- // API dependencies in grails-encoder
53- exclude group: 'org.apache.groovy', module: 'groovy'
54- exclude group: 'org.apache.groovy', module: 'groovy-json'
55- exclude group: 'org.grails', module: 'grails-core'
56- exclude group: 'org.slf4j', module: 'jcl-over-slf4j'
57- exclude group: 'org.slf4j', module: 'slf4j-api'
58- exclude group: 'org.springframework', module: 'spring-web'
59- */
60- }
61- api ' org.grails:grails-web-url-mappings' , { // LinkGenerator
62- /*
63- // API dependencies in grails-web-url-mappings
64- exclude group: 'org.grails', module: 'grails-web-common'
65- //exclude group: 'org.grails', module: 'grails-datastore-gorm-validation' // Constrained
66- */
67- }
68- api ' org.springframework:spring-context' // MessageSource, Errors, MessageSourceResolvable, DefaultMessageSourceResolvable, NoSuchMessageException
69- api ' org.springframework.boot:spring-boot' // ServletRegistrationBean
70-
71- implementation project(' :grails-taglib' ), { // GroovyPageAttributes
72- /*
73- // API dependencies in grails-taglib
74- exclude group: 'org.grails', module: 'grails-core'
75- exclude group: 'org.grails', module: 'grails-encoder'
76- exclude group: 'org.springframework', module: 'spring-core'
77- */
78- }
79- implementation project(' :grails-web-gsp-taglib' ), { // RenderTagLib
80- /*
81- // API dependencies in grails-web-gsp-taglib
82- exclude group: 'org.grails', module: 'grails-taglib'
83- exclude group: 'org.grails', module: 'grails-web-gsp'
84- */
85- }
86- implementation " org.apache.commons:commons-text:$commonsTextVersion " // StringEscapeUtils
87- implementation ' org.apache.groovy:groovy-xml' // MarkupBuilder
88- implementation ' org.grails:grails-core' , { // Config
89- /*
90- // API dependencies in grails-core
91- exclude group: 'org.apache.groovy', module: 'groovy'
92- exclude group: 'jakarta.inject', module: 'jakarta.inject-api'
93- exclude group: 'jakarta.persistence', module: 'jakarta.persistence-api'
94- exclude group: 'jakarta.annotation', module: 'jakarta.annotation-api'
95- exclude group: 'org.grails', module: 'grails-bootstrap'
96- exclude group: 'org.grails', module: 'grails-datastore-core'
97- exclude group: 'org.grails', module: 'grails-spring'
98- exclude group: 'org.slf4j', module: 'jcl-over-slf4j'
99- exclude group: 'org.slf4j', module: 'slf4j-api'
100- exclude group: 'org.yaml', module: 'snakeyaml'
101- exclude group: 'org.springframework', module: 'spring-beans'
102- exclude group: 'org.springframework', module: 'spring-core'
103- exclude group: 'org.springframework', module: 'spring-context'
104- exclude group: 'org.springframework', module: 'spring-tx'
105- exclude group: 'org.springframework.boot', module: 'spring-boot'
106- exclude group: 'org.springframework.boot', module: 'spring-boot-autoconfigure'
107- */
108- }
109- implementation ' org.grails:grails-spring' , { // RuntimeSpringConfiguration
110- /*
111- // API dependencies in grails-spring
112- exclude group: 'org.springframework', module: 'spring-tx'
113- exclude group: 'org.springframework', module: 'spring-web'
114- exclude group: 'org.springframework', module: 'spring-context'
115- exclude group: 'org.grails', module: 'grails-bootstrap'
116- exclude group: 'org.apache.groovy', module: 'groovy-xml'
117- */
118- }
119- implementation ' org.grails:grails-web-common' , {
120- /*
121- // API dependencies in grails-web-common
122- exclude group: 'org.apache.groovy', module: 'groovy-templates'
123- exclude group: 'org.grails', module: 'grails-core'
124- exclude group: 'org.grails', module: 'grails-databinding'
125- exclude group: 'org.grails', module: 'grails-encoder'
126- exclude group: 'org.springframework', module: 'spring-webmvc'
127- exclude group: 'org.springframework', module: 'spring-context-support'
128- */
129- }
130- implementation ' org.grails:grails-web-mvc' , { // SynchronizerTokensHolder
131- /*
132- // API dependencies in grails-web-mvc
133- exclude group: 'org.grails', module: 'grails-web-common'
134- exclude group: 'org.grails', module: 'grails-web-url-mappings'
135- */
136- }
137- implementation ' org.springframework:spring-beans' // PropertyEditorRegistry
138-
139- astImplementation ' org.grails:grails-web' , {
140- /*
141- // API dependencies in grails-web
142- exclude group: 'org.grails', module: 'grails-web-common'
143- exclude group: 'org.grails', module: 'grails-web-databinding'
144- exclude group: 'org.grails', module: 'grails-web-gsp'
145- exclude group: 'org.grails', module: 'grails-web-mvc'
146- exclude group: 'org.grails', module: 'grails-web-url-mappings'
147- */
148- }
149- astImplementation ' org.grails:grails-plugin-controllers' , {
150- /*
151- // API dependencies in grails-plugin-controllers
152- //exclude group: 'org.grails', module: 'grails-core' // TraitInjector
153- exclude group: 'org.grails', module: 'grails-web'
154- exclude group: 'org.grails', module: 'grails-plugin-mimetypes'
155- exclude group: 'org.grails', module: 'grails-plugin-validation'
156- exclude group: 'org.grails', module: 'grails-plugin-domain-class'
157- exclude group: 'org.springframework.boot', module: 'spring-boot-autoconfigure'
158- */
159- }
160-
161- compileOnly project(' :grails-web-jsp' ), { // Provided by Application for JSP support
162- /*
163- // API dependencies in grails-web-jsp
164- exclude group: 'org.grails', module: 'grails-web-gsp'
165- */
166- }
167-
168- runtimeOnly " org.grails:grails-plugin-codecs:$grailsVersion " // Registers CodecLookup bean
31+ runtimeOnly(project(" :grails-web-jsp" ))
32+ api " org.apache.commons:commons-text:$commonsTextVersion "
33+ api " org.grails:grails-plugin-codecs"
34+ astImplementation " org.grails:grails-web"
35+ astImplementation " org.grails:grails-plugin-controllers"
16936
37+ // api project(':grails-gsp'), { // GroovyPageResourceLoader, GroovyPagesTemplateEngine, CachingGroovyPageStaticResourceLocator
38+ // // API dependencies in grails-gsp
39+ // exclude group: 'org.grails', module: 'grails-bootstrap'
40+ // //exclude group: 'org.apache.groovy', module: 'groovy-templates' // TemplateEngine
41+ // }
42+ // api project(':grails-web-gsp'), { // PageRenderer
43+ // // API dependencies in grails-web-gsp
44+ // exclude group: 'org.grails', module: 'grails-gsp'
45+ // exclude group: 'org.grails', module: 'grails-web-common'
46+ // exclude group: 'org.grails', module: 'grails-web-taglib'
47+ // }
48+ // api project(':grails-web-taglib'), { // TagLibraryInvoker, TagLib, TagLibrary
49+ // // API dependencies in grails-web-taglib
50+ // exclude group: 'org.grails', module: 'grails-taglib'
51+ // exclude group: 'org.grails', module: 'grails-web-common'
52+ // }
53+ // api 'org.grails:grails-encoder', { // CodecLookup, Encoder
54+ // // API dependencies in grails-encoder
55+ // exclude group: 'org.apache.groovy', module: 'groovy'
56+ // exclude group: 'org.apache.groovy', module: 'groovy-json'
57+ // exclude group: 'org.grails', module: 'grails-core'
58+ // exclude group: 'org.slf4j', module: 'jcl-over-slf4j'
59+ // exclude group: 'org.slf4j', module: 'slf4j-api'
60+ // exclude group: 'org.springframework', module: 'spring-web'
61+ // }
62+ // api 'org.grails:grails-web-url-mappings', { // LinkGenerator
63+ // // API dependencies in grails-web-url-mappings
64+ // exclude group: 'org.grails', module: 'grails-web-common'
65+ // //exclude group: 'org.grails', module: 'grails-datastore-gorm-validation' // Constrained
66+ // }
67+ // api 'org.springframework:spring-context' // MessageSource, Errors, MessageSourceResolvable, DefaultMessageSourceResolvable, NoSuchMessageException
68+ // api 'org.springframework.boot:spring-boot' // ServletRegistrationBean
69+ //
70+ // implementation project(':grails-taglib'), { // GroovyPageAttributes
71+ // // API dependencies in grails-taglib
72+ // exclude group: 'org.grails', module: 'grails-core'
73+ // exclude group: 'org.grails', module: 'grails-encoder'
74+ // exclude group: 'org.springframework', module: 'spring-core'
75+ // }
76+ // implementation project(':grails-web-gsp-taglib'), { // RenderTagLib
77+ // // API dependencies in grails-web-gsp-taglib
78+ // exclude group: 'org.grails', module: 'grails-taglib'
79+ // exclude group: 'org.grails', module: 'grails-web-gsp'
80+ // }
81+ // implementation "org.apache.commons:commons-text:$commonsTextVersion" // StringEscapeUtils
82+ // implementation 'org.apache.groovy:groovy-xml' // MarkupBuilder
83+ // implementation 'org.grails:grails-core', { // Config
84+ // // API dependencies in grails-core
85+ // exclude group: 'org.apache.groovy', module: 'groovy'
86+ // exclude group: 'jakarta.inject', module: 'jakarta.inject-api'
87+ // exclude group: 'jakarta.persistence', module: 'jakarta.persistence-api'
88+ // exclude group: 'jakarta.annotation', module: 'jakarta.annotation-api'
89+ // exclude group: 'org.grails', module: 'grails-bootstrap'
90+ // exclude group: 'org.grails', module: 'grails-datastore-core'
91+ // exclude group: 'org.grails', module: 'grails-spring'
92+ // exclude group: 'org.slf4j', module: 'jcl-over-slf4j'
93+ // exclude group: 'org.slf4j', module: 'slf4j-api'
94+ // exclude group: 'org.yaml', module: 'snakeyaml'
95+ // exclude group: 'org.springframework', module: 'spring-beans'
96+ // exclude group: 'org.springframework', module: 'spring-core'
97+ // exclude group: 'org.springframework', module: 'spring-context'
98+ // exclude group: 'org.springframework', module: 'spring-tx'
99+ // exclude group: 'org.springframework.boot', module: 'spring-boot'
100+ // exclude group: 'org.springframework.boot', module: 'spring-boot-autoconfigure'
101+ // }
102+ // implementation 'org.grails:grails-spring', { // RuntimeSpringConfiguration
103+ // // API dependencies in grails-spring
104+ // exclude group: 'org.springframework', module: 'spring-tx'
105+ // exclude group: 'org.springframework', module: 'spring-web'
106+ // exclude group: 'org.springframework', module: 'spring-context'
107+ // exclude group: 'org.grails', module: 'grails-bootstrap'
108+ // exclude group: 'org.apache.groovy', module: 'groovy-xml'
109+ // }
110+ // implementation 'org.grails:grails-web-common', {
111+ // // API dependencies in grails-web-common
112+ // exclude group: 'org.apache.groovy', module: 'groovy-templates'
113+ // exclude group: 'org.grails', module: 'grails-core'
114+ // exclude group: 'org.grails', module: 'grails-databinding'
115+ // exclude group: 'org.grails', module: 'grails-encoder'
116+ // exclude group: 'org.springframework', module: 'spring-webmvc'
117+ // exclude group: 'org.springframework', module: 'spring-context-support'
118+ // }
119+ // implementation 'org.grails:grails-web-mvc', { // SynchronizerTokensHolder
120+ // // API dependencies in grails-web-mvc
121+ // exclude group: 'org.grails', module: 'grails-web-common'
122+ // exclude group: 'org.grails', module: 'grails-web-url-mappings'
123+ // }
124+ // implementation 'org.springframework:spring-beans' // PropertyEditorRegistry
125+ //
126+ // astImplementation 'org.grails:grails-web', {
127+ // // API dependencies in grails-web
128+ // exclude group: 'org.grails', module: 'grails-web-common'
129+ // exclude group: 'org.grails', module: 'grails-web-databinding'
130+ // exclude group: 'org.grails', module: 'grails-web-gsp'
131+ // exclude group: 'org.grails', module: 'grails-web-mvc'
132+ // exclude group: 'org.grails', module: 'grails-web-url-mappings'
133+ // }
134+ // astImplementation 'org.grails:grails-plugin-controllers', {
135+ // // API dependencies in grails-plugin-controllers
136+ // //exclude group: 'org.grails', module: 'grails-core' // TraitInjector
137+ // exclude group: 'org.grails', module: 'grails-web'
138+ // exclude group: 'org.grails', module: 'grails-plugin-mimetypes'
139+ // exclude group: 'org.grails', module: 'grails-plugin-validation'
140+ // exclude group: 'org.grails', module: 'grails-plugin-domain-class'
141+ // exclude group: 'org.springframework.boot', module: 'spring-boot-autoconfigure'
142+ // }
143+ //
144+ // compileOnly project(':grails-web-jsp'), { // Provided by Application for JSP support
145+ // // API dependencies in grails-web-jsp
146+ // exclude group: 'org.grails', module: 'grails-web-gsp'
147+ // }
148+ //
149+ // runtimeOnly "org.grails:grails-plugin-codecs:$grailsVersion" // Registers CodecLookup bean
150+ //
170151 testCompileOnly ' jakarta.annotation:jakarta.annotation-api'
171152
172153 testImplementation project(' :grails-web-jsp' ), { // TagLibraryResolverImpl
173- /*
174154 // API dependencies in grails-web-jsp
175155 exclude group : ' org.grails' , module : ' grails-web-gsp'
176- */
177156 }
178157 testImplementation ' jakarta.servlet.jsp.jstl:jakarta.servlet.jsp.jstl-api'
179158 testImplementation " jakarta.servlet.jsp:jakarta.servlet.jsp-api:$jspApiVersion "
0 commit comments