apache / apache/eventmesh

[Enhancement] Move the version variables of third-party middlewares from `gradle.properties` to `build.gradle`

Open
#5,008 9 comments 0 reactions 1 assignee Claimed by @melisolmez View on GitHub
enhancement good first issue Stale
Dominant language
Java
Stars
1.8k
Forks
658
Avg merge
11h 29m
Merged PRs (30d)
52

Description

### Search before asking

- [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues.

### Enhancement Request

Currently, the version definitions of third-party middleware for connectors and storage plugins are in the `gradle.properties` file. Dependabot does not upgrade the versions in the `gradle.properties` file because it is considered a configuration file for the Gradle JVM itself, rather than a part of dependency management. This has led to most connectors lagging behind the latest versions, reducing their usability.

### Describe the solution you'd like

There are several reasons to move the version variables of third-party middleware to `build.gradle`:

1. The `gradle.properties` file can be edited and modified by users to match the middleware versions they are using. However, whether modifying `gradle.properties` or `build.gradle`, it requires recompiling from the source code or replacing the binary package with the target version.
2. Higher versions of the SDK are often backward compatible with lower versions of the middleware. However, when upgrading to higher version dependencies, the API of lower version source code may change. Using Dependabot for small-step upgrades reduces the upgrade cost.

If there are any issues, feel free to discuss.

### Are you willing to submit PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) *

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.