codeconsole commented on code in PR #15127:
URL: https://github.com/apache/grails-core/pull/15127#discussion_r2430635194
##########
grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy:
##########
@@ -427,6 +427,7 @@ class GrailsGradlePlugin extends GroovyPlugin {
@CompileStatic
protected String configureGrailsBuildSettings(Project project) {
System.setProperty(BuildSettings.APP_BASE_DIR,
project.projectDir.absolutePath)
+ System.setProperty(BuildSettings.PROJECT_TARGET_DIR,
project.layout.buildDirectory.get().asFile.name)
Review Comment:
@jdaugherty the reason I am calling it a bug is because it results in an
exception `java.io.FileNotFoundException: /grails-demo/build/.grailspid (No
such file or directory)`
If it works, let's put it in 7.0.1
--
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]