jprinet commented on code in PR #14895:
URL: https://github.com/apache/grails-core/pull/14895#discussion_r2206921614
##########
grails-gradle/docs-core/src/main/groovy/grails/doc/gradle/PublishGuideTask.groovy:
##########
@@ -94,6 +104,14 @@ class PublishGuideTask extends DefaultTask {
group = 'documentation'
}
+ @Optional
+ @Input
+ Map<String, String> getRelativizedPropertiesWithFilePaths() {
+ return propertiesWithFilePaths.get().collectEntries { key, file ->
+ return [key,
rootProjectDir.get().getAsFile().toPath().relativize(file.toPath()).toString()]
Review Comment:
Please ignore my comment, I got confused by the CC report
```
Task `:grails-doc:publishGuide` of type
`grails.doc.gradle.PublishGuideTask`: cannot serialize object of type
'org.gradle.api.internal.project.DefaultProject'
```
I thought my change introduced the problem but I'm only using
`DirectoryProperty rootProjectDir` which is just fine
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]