From 6f867ad87f4f8fc0fa19dd98ba13f5bb43e1323a 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 a81072957..85c358194 100644 --- a/docs/src/main/asciidoc/spring-cloud-stream.adoc +++ b/docs/src/main/asciidoc/spring-cloud-stream.adoc @@ -2814,7 +2814,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] ---- @@ -2828,6 +2828,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