From e4e0c32c769f8eb105c8d9bc5de4fd07ab82200a Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Sun, 16 Jan 2022 09:10:44 -0700 Subject: [PATCH] Updated javacord to woodpecker and jojodev --- .drone.yml | 35 ------------------------ .woodpecker.yml | 19 +++++++++++++ README.md | 2 +- build.gradle | 4 +-- gradle/wrapper/gradle-wrapper.properties | 2 +- 5 files changed, 23 insertions(+), 39 deletions(-) delete mode 100644 .drone.yml create mode 100644 .woodpecker.yml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 7681434..0000000 --- a/.drone.yml +++ /dev/null @@ -1,35 +0,0 @@ ---- -kind: pipeline -name: compliance - -trigger: - event: - - pull_request - -steps: -- name: build - pull: always - image: gradle:6.6 - commands: - - gradle build - - gradle test - ---- -kind: pipeline -name: release - -trigger: - branch: - - main - event: - - push - -steps: -- name: publish - pull: always - image: gradle:6.6 - environment: - MAVEN_PASSWORD: - from_secret: maven_password - commands: - - gradle publish \ No newline at end of file diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..1b34740 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,19 @@ +clone: + git: + image: "woodpeckerci/plugin-git:next" +pipeline: + compliance: + commands: + - "gradle build" + - "gradle test" + image: "gradle:7.3-jdk17" + when: + event: pull_request + release: + commands: + - "gradle publish" + secrets: + - maven_password + image: "gradle:7.3-jdk17" + when: + branch: main \ No newline at end of file diff --git a/README.md b/README.md index 98aac00..0be3441 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A small, no-dependency Discord utility library. Currently used for webhooks/embe ## Releases -[Reposilite](https://mvn.birbmc.com/releases/xyz/etztech/javacord) +[Reposilite](https://mvn.jojodev.com/releases/xyz/etztech/javacord) ## License diff --git a/build.gradle b/build.gradle index 0ee8e12..f091cf5 100644 --- a/build.gradle +++ b/build.gradle @@ -28,8 +28,8 @@ publishing { } repositories { maven { - name = "birbmc" - url = "https://mvn.birbmc.com/releases" + name = "jojodev" + url = "https://mvn.jojodev.com/releases" credentials { username = "admin" password = System.getenv("MAVEN_PASSWORD") diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 6c9a224..e750102 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.6-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists