Skip to content

Commit

Permalink
fix: dataImport task should not run tomcatClean and tomcatDeploy tasks
Browse files Browse the repository at this point in the history
This permit to avoid to undeploy and deploy apps when only a dataImport is run
Should solve issue #252
  • Loading branch information
jgribonvald committed Apr 5, 2019
1 parent 471f12d commit 44e00d2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ class GradleImportExportPlugin implements Plugin<Project> {
}
project.task('dataImport') {
group 'Data'
dependsOn project.rootProject.tasks.portalProperties, project.tasks.tomcatDeploy
dependsOn project.rootProject.tasks.portalProperties
mustRunAfter project.tasks.tomcatDeploy
doFirst {
if (project.tasks.dataImport.actions.size() == 1) {
logger.lifecycle('No actions have been defined for this task in this project')
Expand Down

0 comments on commit 44e00d2

Please sign in to comment.