You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mb...@apache.org on 2023/08/01 08:49:13 UTC
[ofbiz-framework] 04/04: Fixed: Corrects groovy source folder location in build.gradle (OFBIZ-12813)
This is an automated email from the ASF dual-hosted git repository.
mbrohl pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
commit 3e077e5f17b839d8cca88643e605975c2fc552c7
Author: Michael Brohl <mi...@ecomify.de>
AuthorDate: Mon Jul 31 17:47:23 2023 +0200
Fixed: Corrects groovy source folder location in build.gradle
(OFBIZ-12813)
---
build.gradle | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build.gradle b/build.gradle
index 8fce176ecc..a31dea061a 100644
--- a/build.gradle
+++ b/build.gradle
@@ -357,7 +357,7 @@ sourceSets {
groovyScripts {
groovy {
- srcDirs += getDirectoryInActiveComponentsIfExists('groovyScripts')
+ srcDirs += getDirectoryInActiveComponentsIfExists('src/main/groovy')
compileClasspath += sourceSets.main.compileClasspath
compileClasspath += sourceSets.main.output
}
@@ -809,7 +809,7 @@ task createPlugin(group: ofbizPlugin, description: 'create a new plugin componen
def pluginDir = "${pluginsDir}/${pluginId}"
['config', 'dtd', 'entitydef', 'lib', 'patches/test', 'patches/qa',
- 'patches/production', 'groovyScripts', 'minilang', 'servicedef', 'src/main/java', 'src/test/java', 'testdef',
+ 'patches/production', 'src/main/groovy', 'minilang', 'servicedef', 'src/main/java', 'src/test/java', 'testdef',
'widget', "webapp/${webappName}/error", "webapp/${webappName}/WEB-INF"].each {
mkdir pluginDir + '/' + it
}