Skip to content

Commit 22093cd

Browse files
authored
Remove reference to deprecated "startTomcat" gradle task (#383)
1 parent ef79d3a commit 22093cd

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

SequenceAnalysis/build.gradle

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -195,13 +195,10 @@ if (project.findProject(BuildUtils.getTestProjectPath(project.gradle)) != null &
195195
})
196196
task.destinationDir = configDir
197197

198-
rootProject.allprojects {
199-
task.mustRunAfter tasks.withType(DoThenSetup)
200-
}
201198
}
202-
testProject.tasks.named("startTomcat").configure {
199+
testProject.tasks.withType(DoThenSetup).configureEach {
203200
dependsOn(createPipelineConfigTask)
204-
it.doFirst {
201+
it.doLast {
205202
new File(new File(BuildUtils.getEmbeddedConfigPath(project)), "application.properties")
206203
<< "\ncontext.pipelineConfig=${configDir.getAbsolutePath().replace("\\", "\\\\")}"
207204
}

0 commit comments

Comments
 (0)