Skip to content

Commit

Permalink
Remove useEmbeddedTomcat property and other support for standalone bu…
Browse files Browse the repository at this point in the history
…ilds
  • Loading branch information
labkey-adam committed Sep 4, 2024
1 parent a3283a9 commit 83a473f
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions SequenceAnalysis/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -185,19 +185,15 @@ if (project.findProject(BuildUtils.getTestProjectPath(project.gradle)) != null &
})
task.destinationDir = configDir

if (BuildUtils.useEmbeddedTomcat(project)) {
rootProject.allprojects {
task.mustRunAfter tasks.withType(DoThenSetup)
}
rootProject.allprojects {
task.mustRunAfter tasks.withType(DoThenSetup)
}
}
testProject.tasks.named("startTomcat").configure {
dependsOn(createPipelineConfigTask)
if (BuildUtils.useEmbeddedTomcat(project)) {
it.doFirst {
new File(new File(BuildUtils.getEmbeddedConfigPath(project)), "application.properties")
<< "\ncontext.pipelineConfig=${configDir.getAbsolutePath().replace("\\", "\\\\")}"
}
it.doFirst {
new File(new File(BuildUtils.getEmbeddedConfigPath(project)), "application.properties")
<< "\ncontext.pipelineConfig=${configDir.getAbsolutePath().replace("\\", "\\\\")}"
}
}
}
Expand Down

0 comments on commit 83a473f

Please sign in to comment.