You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2026/10/23 14:36:46 UTC

(grails-core) branch 7.0.x updated (499665ccb9 -> 662f7b8d9d)

This is an automated email from the ASF dual-hosted git repository.

jdaugherty pushed a change to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git


    from 499665ccb9 Merge pull request #16656 from apache/fix/hibernate5-many-to-many-warning-circular-map-7.0.x
     add 08f238a7b5 Compile views for a stated Grails environment, and key the build cache on it
     new 662f7b8d9d Merge pull request #16718 from apache/fix/16711-gsp-compile-environment

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 grails-doc/src/en/guide/conf/environments.adoc     |  25 ++
 .../views/AbstractGroovyTemplateCompileTask.groovy |  63 +++-
 .../plugin/views/ViewCompileDestination.groovy     |  83 +++++
 .../plugin/views/ViewCompileEnvironment.groovy     | 170 ++++++++++
 .../views/gsp/GroovyPageForkCompileTask.groovy     |  99 +++++-
 .../grails/plugin/json/view/JsonViewCompiler.java  |  21 +-
 ...ractViewCompileEnvironmentFunctionalSpec.groovy | 362 +++++++++++++++++++++
 .../plugin/views/RecordingForkedCompiler.java      |  82 +++++
 ...oovyPageCompileEnvironmentFunctionalSpec.groovy | 110 +++++++
 ...GsonViewCompileEnvironmentFunctionalSpec.groovy |  60 ++++
 .../grails/web/pages/GroovyPageForkedCompiler.java |  21 +-
 .../gson-compile-environment/build.gradle          |  12 +
 .../gson-compile-environment/settings.gradle       |   1 +
 .../gsp-compile-environment/build.gradle           |  16 +
 .../gsp-compile-environment/settings.gradle        |   1 +
 15 files changed, 1101 insertions(+), 25 deletions(-)
 create mode 100644 grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/views/ViewCompileDestination.groovy
 create mode 100644 grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/views/ViewCompileEnvironment.groovy
 copy grails-forge/grails-forge-core/src/main/java/org/grails/forge/io/OutputHandler.java => grails-gradle/plugins/src/test/groovy/grails/plugin/json/view/JsonViewCompiler.java (64%)
 create mode 100644 grails-gradle/plugins/src/test/groovy/org/grails/gradle/plugin/views/AbstractViewCompileEnvironmentFunctionalSpec.groovy
 create mode 100644 grails-gradle/plugins/src/test/groovy/org/grails/gradle/plugin/views/RecordingForkedCompiler.java
 create mode 100644 grails-gradle/plugins/src/test/groovy/org/grails/gradle/plugin/views/gsp/GroovyPageCompileEnvironmentFunctionalSpec.groovy
 create mode 100644 grails-gradle/plugins/src/test/groovy/org/grails/gradle/plugin/views/json/GsonViewCompileEnvironmentFunctionalSpec.groovy
 copy grails-gsp/plugin/src/test/groovy/org/grails/web/pages/GroovyPageResourceLoaderTests.java => grails-gradle/plugins/src/test/groovy/org/grails/web/pages/GroovyPageForkedCompiler.java (65%)
 create mode 100644 grails-gradle/plugins/src/test/resources/test-projects/gson-compile-environment/build.gradle
 create mode 100644 grails-gradle/plugins/src/test/resources/test-projects/gson-compile-environment/settings.gradle
 create mode 100644 grails-gradle/plugins/src/test/resources/test-projects/gsp-compile-environment/build.gradle
 create mode 100644 grails-gradle/plugins/src/test/resources/test-projects/gsp-compile-environment/settings.gradle


(grails-core) 01/01: Merge pull request #16718 from apache/fix/16711-gsp-compile-environment

Posted by jd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jdaugherty pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit 662f7b8d9d9d17998410b7df65e21ea701bb270e
Merge: 499665ccb9 08f238a7b5
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Fri Oct 23 10:36:39 2026 -0400

    Merge pull request #16718 from apache/fix/16711-gsp-compile-environment
    
    Compile views for a stated Grails environment, and key the build cache on it

 grails-doc/src/en/guide/conf/environments.adoc     |  25 ++
 .../views/AbstractGroovyTemplateCompileTask.groovy |  63 +++-
 .../plugin/views/ViewCompileDestination.groovy     |  83 +++++
 .../plugin/views/ViewCompileEnvironment.groovy     | 170 ++++++++++
 .../views/gsp/GroovyPageForkCompileTask.groovy     |  99 +++++-
 .../grails/plugin/json/view/JsonViewCompiler.java  |  37 +++
 ...ractViewCompileEnvironmentFunctionalSpec.groovy | 362 +++++++++++++++++++++
 .../plugin/views/RecordingForkedCompiler.java      |  82 +++++
 ...oovyPageCompileEnvironmentFunctionalSpec.groovy | 110 +++++++
 ...GsonViewCompileEnvironmentFunctionalSpec.groovy |  60 ++++
 .../grails/web/pages/GroovyPageForkedCompiler.java |  37 +++
 .../gson-compile-environment/build.gradle          |  12 +
 .../gson-compile-environment/settings.gradle       |   1 +
 .../gsp-compile-environment/build.gradle           |  16 +
 .../gsp-compile-environment/settings.gradle        |   1 +
 15 files changed, 1152 insertions(+), 6 deletions(-)