Skip to content

Conversation

@billgonemad
Copy link
Collaborator

No description provided.

Copy link
Member

@sbglasius sbglasius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. Please look over my comments

build.gradle Outdated
compile 'org.xhtmlrenderer:flying-saucer-pdf-openpdf:9.1.22'
testCompile("org.apache.pdfbox:pdfbox:1.0.0") {
implementation 'org.xhtmlrenderer:flying-saucer-pdf-openpdf:9.1.22'
testImplementation("org.apache.pdfbox:pdfbox:1.0.0") {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be upgraded to the latest https://mvnrepository.com/artifact/org.apache.pdfbox/pdfbox/3.0.5

build.gradle Outdated
Comment on lines 26 to 27
apply plugin: 'eclipse'
apply plugin: 'idea'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both plugins are not needed, as they both understand Gradle out of the box

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmm... I copied from the generated build.gradle file when running create-plugin. Should a ticket be raised in grails-core to remove that if its not needed?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using github workflows instead. See https://github.com/grails-plugins/grails-mail/tree/5.0.x/.github for examples


import org.apache.commons.codec.binary.Base64

class DataUri {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider making @CompileStatic

@sbglasius
Copy link
Member

Thank you for putting in the effort @billgonemad
I will add github workflows to the build and see if I can get it out soon.

@sbglasius sbglasius merged commit f329ad4 into gpc:master Sep 29, 2025
@billgonemad
Copy link
Collaborator Author

Awesome thank you @sbglasius!

@sbglasius
Copy link
Member

@billgonemad you should be able to test the 7.0.0-RC1 version

Check docs for dependencies: https://gpc.github.io/rendering/7.0.x/

@sbglasius
Copy link
Member

sbglasius commented Oct 2, 2025

@billgonemad and when you confirm that it's working for you, I'll make a 7.0.0 release 🙂 when Grails 7.0.0 goes GA that is 😉

@billgonemad
Copy link
Collaborator Author

@sbglasius Thank you! So far it appears to be workig for me, though we only really use the PDF functionality in our app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants