Skip to content

Commit

Permalink
taskgraph is too late to set vaadin prod mode
Browse files Browse the repository at this point in the history
  • Loading branch information
F43nd1r committed Jun 8, 2021
1 parent 2f9b582 commit e0bbb32
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions acrarium/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,6 @@ docker {
copySpec.into("build/libs")
}

gradle.taskGraph.addTaskExecutionGraphListener { graph ->
if (graph.allTasks.any { it.name == "docker" }) {
vaadin.productionMode = true
}
}

tasks.withType<Test> {
project.properties["vaadinProKey"]?.let { systemProperty("vaadin.proKey", it) }
useJUnitPlatform()
Expand Down

0 comments on commit e0bbb32

Please sign in to comment.