Updated to replace dependency for stream tests

This commit is contained in:
Glenn Renfro
2022-12-01 08:42:54 -05:00
parent 77c83fbaa1
commit ba28df6dc0
6 changed files with 6 additions and 16 deletions

View File

@@ -59,10 +59,10 @@ import org.springframework.context.annotation.Lazy;
* @author Glenn Renfro
* @author Ali Shahbour
*/
// @checkstyle:off
@AutoConfiguration(after = SimpleTaskAutoConfiguration.class)
@ConditionalOnClass(Job.class)
@ConditionalOnBean({ Job.class, TaskLifecycleListener.class })
// @checkstyle:off
@ConditionalOnProperty(prefix = "spring.cloud.task.batch.events", name = "enabled", havingValue = "true",
matchIfMissing = true)
// @checkstyle:on