confluentinc / confluentinc/kafka-tutorials

Recommend Gradle version to users

Open
#1,280 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
39
Forks
91
PR merge metrics
No merged PRs in 30d

Description

Tutorials may need a warning to users on which Gradle version to use (or be explicit with `--gradle-version 7.4.2`).

Otherwise:

```
FAILURE: Build failed with an exception.

* Where:
Build file '...build.gradle' line: 22

* What went wrong:
...
> Could not get unknown property 'mainClass' for object of type org.gradle.api.plugins.internal.DefaultJavaApplication.
```

or

```
A problem was found with the configuration of task ':shadowJar' (type 'ShadowJar').
- In plugin 'com.github.jengelman.gradle.plugins.shadow.ShadowBasePlugin' type 'com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar' property 'mainClassName' doesn't have a configured value.

```

[Internal Slack thread](https://confluent.slack.com/archives/CHMFCJRCM/p1654512038548539)

cc: @bbejeck

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.