mirror of https://github.com/apache/kafka.git
KAFKA-18203 Add a section for Java version in intellij idea in README (#18134)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
669d8610a2
commit
6af233e4fc
|
@ -121,6 +121,8 @@ Streams has multiple sub-projects, but you can run all the tests:
|
||||||
./gradlew tasks
|
./gradlew tasks
|
||||||
|
|
||||||
### Building IDE project ####
|
### Building IDE project ####
|
||||||
|
*Note Please ensure that JDK17 is used when developing Kafka.*
|
||||||
|
|
||||||
*Note that this is not strictly necessary (IntelliJ IDEA has good built-in support for Gradle projects, for example).*
|
*Note that this is not strictly necessary (IntelliJ IDEA has good built-in support for Gradle projects, for example).*
|
||||||
|
|
||||||
./gradlew eclipse
|
./gradlew eclipse
|
||||||
|
@ -130,6 +132,11 @@ The `eclipse` task has been configured to use `${project_dir}/build_eclipse` as
|
||||||
build directory (`${project_dir}/bin`) clashes with Kafka's scripts directory and we don't use Gradle's build directory
|
build directory (`${project_dir}/bin`) clashes with Kafka's scripts directory and we don't use Gradle's build directory
|
||||||
to avoid known issues with this configuration.
|
to avoid known issues with this configuration.
|
||||||
|
|
||||||
|
IntelliJ Language Level awareness:
|
||||||
|
|
||||||
|
IntelliJ will automatically check Java syntax and compatibility for each module, even if the Java version is not
|
||||||
|
explicitly set in the Structure > Project Settings > Modules.
|
||||||
|
|
||||||
### Publishing the streams quickstart archetype artifact to maven ###
|
### Publishing the streams quickstart archetype artifact to maven ###
|
||||||
For the Streams archetype project, one cannot use gradle to upload to maven; instead the `mvn deploy` command needs to be called at the quickstart folder:
|
For the Streams archetype project, one cannot use gradle to upload to maven; instead the `mvn deploy` command needs to be called at the quickstart folder:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue