From fe072d2444a4058c677b8ca2e56c1b4f777b7706 Mon Sep 17 00:00:00 2001 From: William Malinowski Date: Fri, 10 Oct 2025 20:17:18 -0400 Subject: [PATCH 1/3] added install section to README.md --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 972b44a..7a318dc 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,24 @@ Rendering Grails Plugin This plugin adds PDF, GIF, PNG and JPEG rendering facilities to Grails applications via the [XHTML Renderer](https://github.com/flyingsaucerproject/flyingsaucer) library. +Install +------- + +To install just add to the dependency block in teh `build.gradle` + +For Grail 7.x +```groovy +implementation 'io.github.gpc:rendering:7.0.0-RC1' +``` + +For Grails 3.x - 6.x +```groovy +implementation 'org.grails.plugins:rendering:2.0.3' +``` + +Usage +----- + Rendering is either done directly via one of the `«format»RenderingService` services … ByteArrayOutputStream bytes = pdfRenderingService.render(template: "/pdfs/report", model: [data: data]) From 3d9fb674d8247901e484e4f1f0e984ce428a66fc Mon Sep 17 00:00:00 2001 From: William Malinowski Date: Fri, 10 Oct 2025 20:28:19 -0400 Subject: [PATCH 2/3] fixed typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7a318dc..d648a46 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ This plugin adds PDF, GIF, PNG and JPEG rendering facilities to Grails applicati Install ------- -To install just add to the dependency block in teh `build.gradle` +To install just add to the dependency block in the `build.gradle` For Grail 7.x ```groovy From ee09b2d6d168294a6d6239970a6b8bab6cde0f89 Mon Sep 17 00:00:00 2001 From: William Malinowski Date: Fri, 10 Oct 2025 20:29:35 -0400 Subject: [PATCH 3/3] fixed typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d648a46..0cf0bd7 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Install To install just add to the dependency block in the `build.gradle` -For Grail 7.x +For Grails 7.x ```groovy implementation 'io.github.gpc:rendering:7.0.0-RC1' ```