Update dependency versions
This commit is contained in:
@@ -40,8 +40,10 @@ import org.springframework.context.annotation.Configuration;
|
||||
*/
|
||||
@Configuration
|
||||
@ConditionalOnBean({ Job.class })
|
||||
@ConditionalOnProperty(name = { "spring.cloud.task.batch.listener.enable",
|
||||
"spring.cloud.task.batch.listener.enabled" }, havingValue = "true", matchIfMissing = true)
|
||||
@ConditionalOnProperty(
|
||||
name = { "spring.cloud.task.batch.listener.enable",
|
||||
"spring.cloud.task.batch.listener.enabled" },
|
||||
havingValue = "true", matchIfMissing = true)
|
||||
public class TaskBatchAutoConfiguration {
|
||||
|
||||
@Bean
|
||||
|
||||
@@ -38,7 +38,8 @@ import org.springframework.context.annotation.Configuration;
|
||||
* @author Glenn Renfro
|
||||
*/
|
||||
@Configuration
|
||||
@ConditionalOnProperty(name = "spring.cloud.task.batch.fail-on-job-failure", havingValue = "true")
|
||||
@ConditionalOnProperty(name = "spring.cloud.task.batch.fail-on-job-failure",
|
||||
havingValue = "true")
|
||||
@EnableConfigurationProperties(TaskBatchProperties.class)
|
||||
@AutoConfigureBefore(BatchAutoConfiguration.class)
|
||||
public class TaskJobLauncherAutoConfiguration {
|
||||
|
||||
@@ -59,8 +59,8 @@ import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
|
||||
* @author Glenn Renfro
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@ContextConfiguration(classes = {
|
||||
TaskJobLauncherCommandLineRunnerCoreTests.BatchConfiguration.class })
|
||||
@ContextConfiguration(
|
||||
classes = { TaskJobLauncherCommandLineRunnerCoreTests.BatchConfiguration.class })
|
||||
public class TaskJobLauncherCommandLineRunnerCoreTests {
|
||||
|
||||
@Autowired
|
||||
|
||||
Reference in New Issue
Block a user