From ed6aa6209d5128c8f1fd4e9d06831a726d1137a5 Mon Sep 17 00:00:00 2001 From: Jan Laupetin Date: Fri, 4 Sep 2026 09:16:39 +0200 Subject: [PATCH 1/3] chore: adjust README for maven central usage --- README.md | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index a5caf2a..d83c280 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,11 @@ # Java Matrix Bot Lib -A java library for communicating with a [Matrix](https://matrix.org) server, meant to aid in creating a chatbot. +A Java library for communicating with a [Matrix](https://matrix.org) server, meant to aid in creating a chatbot. ## Usage -Currently requires at least JDK 21. If you are using Maven, add the following repository to your `pom.xml`: - -```xml - - - - synyx-public - https://nexus.synyx.de/repository/public-releases/ - - -``` - -then you can add `java-matrix-bot-lib` as a dependency: +Currently requires at least JDK 21. +If you are using Maven, add the following repository to your `pom.xml` to add `java-matrix-bot-lib` as a dependency: ```xml From 88522da0206f3ab4044c4658a74686f106f66d7f Mon Sep 17 00:00:00 2001 From: Jan Laupetin Date: Fri, 4 Sep 2026 09:17:14 +0200 Subject: [PATCH 2/3] chore: adjust README with updated api --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d83c280..519db0e 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ public class MyMatrixBot implements MatrixEventConsumer { } @Override - public void onMessage(MatrixState state, MatrixRoom room, MatrixMessage message) { + public void onMessage(MatrixState state, MatrixMessageEvent event) { // ... } } From 768fdc7c36a9291183432d8bc063b24cf57846f8 Mon Sep 17 00:00:00 2001 From: Jan Laupetin Date: Fri, 4 Sep 2026 09:18:44 +0200 Subject: [PATCH 3/3] chore: delete release workflow --- .github/workflows/release.yaml | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml deleted file mode 100644 index 01c7b57..0000000 --- a/.github/workflows/release.yaml +++ /dev/null @@ -1,21 +0,0 @@ -name: release -on: - push: - tags: - - "v*.*.*" -jobs: - release: - runs-on: ubuntu-latest - container: eclipse-temurin:21 - steps: - - name: Checkout repository - uses: actions/checkout@v7 - - name: Build with Gradle - env: - VERSION: ${{ github.ref_name }} - ORG_GRADLE_PROJECT_synyxPublicReleasesUsername: ${{ secrets.NEXUS_PUBLIC_USERNAME }} - ORG_GRADLE_PROJECT_synyxPublicReleasesPassword: ${{ secrets.NEXUS_PUBLIC_PASSWORD }} - run: | - # Strip leading v from tag - VERSION=${VERSION#v} - ./gradlew -Pversion="${VERSION}" publish