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 diff --git a/README.md b/README.md index a5caf2a..519db0e 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 @@ -51,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) { // ... } }