-
Notifications
You must be signed in to change notification settings - Fork 47
Upgraded for grails 7 #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
sbglasius
left a comment
There was a problem hiding this 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") { |
There was a problem hiding this comment.
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
| apply plugin: 'eclipse' | ||
| apply plugin: 'idea' |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
src/test/groovy/grails/plugins/rendering/datauri/DataUriSpec.groovy
Outdated
Show resolved
Hide resolved
|
|
||
| import org.apache.commons.codec.binary.Base64 | ||
|
|
||
| class DataUri { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider making @CompileStatic
grails-app/taglib/grails/plugins/rendering/RenderingTagLib.groovy
Outdated
Show resolved
Hide resolved
|
Thank you for putting in the effort @billgonemad |
|
Awesome thank you @sbglasius! |
|
@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/ |
|
@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 😉 |
|
@sbglasius Thank you! So far it appears to be workig for me, though we only really use the PDF functionality in our app. |
No description provided.