From b48485e7fa3a9e45dc4c2495975be0f181582a68 Mon Sep 17 00:00:00 2001 From: igor Date: Mon, 23 Nov 2020 16:24:47 +0100 Subject: [PATCH] Update spring-cloud-stream.adoc --- docs/src/main/asciidoc/spring-cloud-stream.adoc | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/spring-cloud-stream.adoc b/docs/src/main/asciidoc/spring-cloud-stream.adoc index a1ab746cb..630952dc9 100644 --- a/docs/src/main/asciidoc/spring-cloud-stream.adoc +++ b/docs/src/main/asciidoc/spring-cloud-stream.adoc @@ -2611,7 +2611,7 @@ To enable Spring Integration Test Binder all you need is: ***Add required dependencies*** -Below is the example of the required Maven POM entries which could be easily retrofitted into Gradle. +Below is the example of the required Maven POM entries. [source,xml] ---- @@ -2625,6 +2625,20 @@ Below is the example of the required Maven POM entries which could be easily ret ---- +Or for build.gradle.kts + +[source,kotlin] +--- +testImplementation("org.springframework.cloud:spring-cloud-stream") { + artifact { + name = "spring-cloud-stream" + extension = "jar" + type ="test-jar" + classifier = "test-binder" + } +} +--- + ***Remove the dependency for `spring-cloud-stream-test-support`*** To avoid conflicts with the existing test binder you must remove the following entry