Skip to content

Commit 3701e8b

Browse files
mamachankoartembilan
authored andcommitted
Remove traces of old pre Java 8 Cafe DSL sample
1 parent b8fe06d commit 3701e8b

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

build.gradle

+1-5
Original file line numberDiff line numberDiff line change
@@ -722,15 +722,11 @@ project('cafe-dsl') {
722722

723723
testCompile 'org.springframework.boot:spring-boot-starter-test'
724724
}
725+
725726
bootRun {
726727
main = 'org.springframework.integration.samples.dsl.cafe.lambda.Application'
727728
}
728729

729-
task run(type: JavaExec) {
730-
main 'org.springframework.integration.samples.dsl.cafe.nonlambda.Application'
731-
classpath = sourceSets.main.runtimeClasspath
732-
}
733-
734730
tasks.withType(JavaExec) {
735731
standardInput = System.in
736732
}

dsl/cafe-dsl/README.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,4 @@ See the `cafe` project **README.md** for more details about the domain and the C
1212
Main class --> Run As --> Java Application)
1313
* or from the command line:
1414

15-
$ gradlew :cafe-dsl:run
16-
17-
There is the second similar sample - `org.springframework.integration.samples.dsl.cafe.nonlambda.Application`, which
18-
demonstrates how Spring Integration Java DSL can be used from pre Java 8 environment.
15+
$ gradlew :cafe-dsl:bootRun

0 commit comments

Comments
 (0)