and opinionated APIs. It integrates smoothly with the JVM, allowing you to be immediately productive whilst providing powerful features, including integrated ORM, Domain-Specific Languages, runtime and compile-time meta-programming and Asynchronous programming.
This project builds the Grails website. It is using Gradle and is fully statically generated.
git clone https://github.com/grails/grails-static-website cd grails-static-website ./gradlew webzip
The output can be found in the build
directory:
build |---- site : the generated static website |---- reports : deadlinks report |---- distributions : zip of the website
The website is generated thanks to Gradle and makes use of the Markup Template Engine. The structure of the project consists of two modules:
generator : utility classes and model for generating the website site : the website itself
The website subproject consists of:
src/main/site : sources for the static website |--- assets : static resources such as images, CSS files, ... |--- html : elements that templates include as raw HTML contents |--- includes : includes used by templates |--- layouts : layouts for the various pages |--- pages : individual pages build.gradle : website weaving logic
Groovy is licensed under the terms of the Apache License, Version 2.0