* Verify Doc Code Snippets Compile * Move snippets to a new (non-published) sub-project * Suppress jar creation and publication * Suppress Regexp checkstyle on Doc Snippets * Add Java/Kotlin Toggle * Compile Kotlin Snippets; Fix Checkstyle * Fix Kotlin Syntax * Remove runner() from Consumer app. * Fix missing end tags. * Topic configuration and other polishing. * Fix Unused Import. * Copy Code Snippets into the build dir. * Fix spurious error messages; copy attributes to build.gradle; move asciidocs to spring-kafka-docs project. * Fix ToC Synchronization; upgrade spring-doc-resources; add Maven/Gradle Toggle. * Add `encoding` to `compileTestJava` to make encoding-specific tests OS-independent * Remove redundant variables from the `index.adoc` since they are set in the plugin config in Gradle * Fix typo for Kotlin code snippet * Rework all the Kotlin samples to more Kotlin-idiomatic style * Fix whitespace. Co-authored-by: Artem Bilan <abilan@vmware.com>
24 lines
401 B
Groovy
24 lines
401 B
Groovy
pluginManagement {
|
|
repositories {
|
|
gradlePluginPortal()
|
|
maven { url 'https://repo.spring.io/plugins-release' }
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id 'com.gradle.enterprise' version '3.5'
|
|
id "io.spring.ge.conventions" version "0.0.7"
|
|
}
|
|
|
|
gradleEnterprise {
|
|
buildScan {
|
|
publishOnFailure()
|
|
}
|
|
}
|
|
|
|
rootProject.name = 'spring-kafka-dist'
|
|
|
|
include 'spring-kafka'
|
|
include 'spring-kafka-test'
|
|
include 'spring-kafka-docs'
|