kafka/docs
Ismael Juma 7a3ebbebbc
KAFKA-12415 Prepare for Gradle 7.0 and restrict transitive scope for non api dependencies (#10203)
Gradle 7.0 is required for Java 16 compatibility and it removes a number of
deprecated APIs. Fix most issues preventing the upgrade to Gradle 7.0.
The remaining ones are more complicated and should be handled
in a separate PR. Details of the changes:

* Release tarball no longer includes includes test, sources, javadoc and test sources jars (these
are still published to the Maven Central repository).
* Replace `compile` with `api` or `implementation` - note that `implementation`
dependencies appear with `runtime` scope in the pom file so this is a (positive)
change in behavior
* Add missing dependencies that were uncovered by the usage of `implementation`
* Replace `testCompile` with `testImplementation`
* Replace `runtime` with `runtimeOnly` and `testRuntime` with `testRuntimeOnly`
* Replace `configurations.runtime` with `configurations.runtimeClasspath`
* Replace `configurations.testRuntime` with `configurations.testRuntimeClasspath` (except for
the usage in the `streams` project as that causes a cyclic dependency error)
* Use `java-library` plugin instead of `java`
* Use `maven-publish` plugin instead of deprecated `maven` plugin - this changes the
commands used to publish and to install locally, but task aliases for `install` and
`uploadArchives` were added for backwards compatibility
* Removed `-x signArchives` line from the readme since it was wrong (it was a
no-op before and it fails now, however)
* Replaces `artifacts` block with an approach that works with the `maven-publish` plugin
* Don't publish `jmh-benchmark` module - the shadow jar is pretty large and not
particularly useful (before this PR, we would publish the non shadow jars)
* Replace `version` with `archiveVersion`, `baseName` with `archiveBaseName` and
`classifier` with `archiveClassifier`
* Update Gradle and plugins to the latest stable version (7.0 is not stable yet)
* Use `plugin` DSL to configure plugins
* Updated notable changes for 3.0

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>, Randall Hauch <rhauch@gmail.com>
2021-03-04 11:22:22 -08:00
..
documentation KAFKA-10679: [Streams] migrate kafka-site updated docs to kafka/docs (#9554) 2020-11-04 08:30:10 -05:00
images KAFKA-5636: Add Sliding Windows documentation (#9264) 2020-09-10 21:55:11 -07:00
js MINOR: bump release version to 3.0.0-SNAPSHOT (#10186) 2021-02-24 17:49:18 -08:00
streams MINOR: Add release documentation for KIP-614 (#10051) 2021-02-24 13:34:38 -06:00
api.html KAFKA-10679: Migrate upgrade changes from site to kafka/docs (#9551) 2020-11-03 13:40:44 -05:00
configuration.html KAFKA-10679: Migrate upgrade changes from site to kafka/docs (#9551) 2020-11-03 13:40:44 -05:00
connect.html MINOR: Fix documentation for KIP-585 (#9524) 2020-10-29 10:08:00 +08:00
design.html MINOR: Remove erroneous extra <code> in design doc (#9657) 2020-11-30 15:41:14 -05:00
documentation.html MINOR: remove dangling quickstart-*.html (#9721) 2020-12-22 16:19:43 -08:00
ecosystem.html MINOR: Improve introduction section in docs to better cover connect and streams. Make uses and ecosystem pages stand alone. 2016-09-28 16:30:21 -07:00
implementation.html KAFKA-10679: Migrate upgrade changes from site to kafka/docs (#9551) 2020-11-03 13:40:44 -05:00
introduction.html KAFKA-10679: Migrate upgrade changes from site to kafka/docs (#9551) 2020-11-03 13:40:44 -05:00
migration.html KAFKA-10679: Migrate upgrade changes from site to kafka/docs (#9551) 2020-11-03 13:40:44 -05:00
ops.html KAFKA-12393: Document multi-tenancy considerations (#334) (#10263) 2021-03-04 10:47:48 -05:00
protocol.html KAFKA-10679: Migrate upgrade changes from site to kafka/docs (#9551) 2020-11-03 13:40:44 -05:00
quickstart.html MINOR: Fix broken link in quickstart.html (#10161) 2021-02-19 11:36:12 +00:00
security.html MINOR: Update security doc 2021-02-08 18:16:47 +05:30
toc.html KAFKA-12393: Document multi-tenancy considerations (#334) (#10263) 2021-03-04 10:47:48 -05:00
upgrade.html KAFKA-12415 Prepare for Gradle 7.0 and restrict transitive scope for non api dependencies (#10203) 2021-03-04 11:22:22 -08:00
uses.html KAFKA-10679: Migrate upgrade changes from site to kafka/docs (#9551) 2020-11-03 13:40:44 -05:00