Commit c9544f6
committed
feat(grails-gradle): move indy configuration from generated apps to Gradle plugin
Move the Groovy invokedynamic (indy) configuration from generated
build.gradle files to the Grails Gradle Plugin, centralizing the
setting and providing user feedback.
Changes:
- Add 'indy' property to GrailsExtension (default: false)
- Configure GroovyCompile tasks in GrailsGradlePlugin to use the
extension's indy setting
- Display lifecycle message explaining indy is disabled for
performance and how to enable it
- Remove hardcoded indy=false from grails-forge template
- Remove hardcoded indy=false from grails-profiles base skeleton
The message appears once per project during configuration:
Grails: Groovy invokedynamic (indy) is disabled to improve
performance (see issue #15293).
To enable invokedynamic: grails { indy = true } in build.gradle
Closes #153211 parent 69e47e3 commit c9544f6
File tree
4 files changed
+23
-8
lines changed- grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/build/gradle/templates
- grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core
- grails-profiles/base/skeleton
4 files changed
+23
-8
lines changedLines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
79 | 89 | | |
80 | 90 | | |
81 | 91 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
| 188 | + | |
187 | 189 | | |
188 | 190 | | |
189 | 191 | | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
190 | 195 | | |
191 | 196 | | |
192 | 197 | | |
| |||
216 | 221 | | |
217 | 222 | | |
218 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
219 | 232 | | |
220 | 233 | | |
221 | 234 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
0 commit comments