From 3701e8bc6f44c1051f70dd0efccd920b957b6422 Mon Sep 17 00:00:00 2001 From: Max Brauer Date: Fri, 20 Dec 2019 17:57:09 +0100 Subject: [PATCH] Remove traces of old pre Java 8 Cafe DSL sample --- build.gradle | 6 +----- dsl/cafe-dsl/README.md | 5 +---- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index 295bb5a1..95d10808 100644 --- a/build.gradle +++ b/build.gradle @@ -722,15 +722,11 @@ project('cafe-dsl') { testCompile 'org.springframework.boot:spring-boot-starter-test' } + bootRun { main = 'org.springframework.integration.samples.dsl.cafe.lambda.Application' } - task run(type: JavaExec) { - main 'org.springframework.integration.samples.dsl.cafe.nonlambda.Application' - classpath = sourceSets.main.runtimeClasspath - } - tasks.withType(JavaExec) { standardInput = System.in } diff --git a/dsl/cafe-dsl/README.md b/dsl/cafe-dsl/README.md index 6031cfc2..f2e051d2 100644 --- a/dsl/cafe-dsl/README.md +++ b/dsl/cafe-dsl/README.md @@ -12,7 +12,4 @@ See the `cafe` project **README.md** for more details about the domain and the C Main class --> Run As --> Java Application) * or from the command line: - $ gradlew :cafe-dsl:run - -There is the second similar sample - `org.springframework.integration.samples.dsl.cafe.nonlambda.Application`, which -demonstrates how Spring Integration Java DSL can be used from pre Java 8 environment. + $ gradlew :cafe-dsl:bootRun