jromero-onclick commented on issue #192: URL: https://github.com/apache/grails-forge/issues/192#issuecomment-2862892508
Maybe something like this, in build.gradle? ` tasks.register('ensureGrailsDirsExist') { doLast { ['grails-app/services', 'grails-app/domain', 'grails-app/taglib'].each { path -> File dir = file(path) if (!dir.exists()) { dir.mkdirs() } File gitkeep = new File(dir, '.gitkeep') if (!gitkeep.exists()) { gitkeep.createNewFile() } } } } // Run as part of build process tasks.named('build') { dependsOn 'ensureGrailsDirsExist' } ` -- 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: commits-unsubscr...@grails.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org