This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch release22.01
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release22.01 by this push:
new 920e701de4 Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)
920e701de4 is described below
commit 920e701de4f2264e923deffed7353e70825e69f4
Author: Jacques Le Roux <[email protected]>
AuthorDate: Thu Jan 4 11:32:59 2024 +0100
Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868)
Previous conflict wrongly handled by hand in build.gradle
This fixes it
---
build.gradle | 33 ---------------------------------
1 file changed, 33 deletions(-)
diff --git a/build.gradle b/build.gradle
index 113fed5736..7b7711686d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -946,39 +946,6 @@ task pullPlugin(group: ofbizPlugin, description: 'Download
and install a plugin
}
}
}
-}
-
-task pullAllPluginsSource(group: ofbizPlugin,
- description: 'Download and install all plugins from source control.
Warning! deletes existing plugins') {
-
- task deleteBeforePulling {
- doLast { delete "${pluginsDir}" }
- }
- task pullPluginsFromSvn(type: SvnCheckout, dependsOn: deleteBeforePulling)
{
- // GitHub SVN feature
https://docs.github.com/en/github/importing-your-projects-to-github/working-with-subversion-on-github/support-for-subversion-clients
- def currentBranch = getCurrentGitBranch()
- if (currentBranch == "trunk") {
- svnUrl = "https://github.com/apache/ofbiz-plugins/trunk"
- } else {
- svnUrl = "https://github.com/apache/ofbiz-plugins/branches/" +
currentBranch
- }
- workspaceDir = "${pluginsDir}"
- }
- dependsOn pullPluginsFromSvn
-
- task installAllPlugins {
- subdirs(file("${pluginsDir}"))
- .filter(this.isComponentEnabled)
- .filter { taskExistsInproject(":plugins:${it.name}", 'install') }
- .forEach({ plugin ->
- dependsOn ":plugins:${plugin.name}:install"
- doLast { println "installed plugin ${plugin.name}" }
- })
- }
- doLast {
- gradlewSubprocess(['installAllPlugins'])
- }
-}*/
// ========== Clean up tasks ==========
task cleanCatalina(group: cleanupGroup, description: 'Clean Catalina data in
runtime/catalina/work') {