From 4c49483f0171260762d1d6b73281123e6d2f31c8 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Wed, 29 Mar 2023 13:45:20 +0100 Subject: [PATCH] Moved to repo.auxilor.io --- .github/ISSUE_TEMPLATE/config.yml | 7 ++--- .github/ISSUE_TEMPLATE/report-a-bug.md | 24 ++------------- .github/ISSUE_TEMPLATE/request-a-feature.md | 20 ------------- .github/workflows/publish-release.yml | 33 +++++++++++++++++++++ build.gradle.kts | 3 +- eco-core/core-plugin/build.gradle.kts | 11 +++++++ settings.gradle.kts | 2 +- 7 files changed, 51 insertions(+), 49 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/request-a-feature.md create mode 100644 .github/workflows/publish-release.yml diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index ecd49b8..cea14e5 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,8 +1,5 @@ blank_issues_enabled: false contact_links: - - name: Auxilor Community Discord + - name: Discord url: https://discord.gg/ZcwpSsE/ - about: Join the Auxilor discord to get help from support staff and the general community! - - name: The most common issues people have - url: https://github.com/Auxilor/eco/issues/78 - about: Check the list of known common issues to see if your issue has already been solved + about: Issues have moved to Discord, please join the server to get help! diff --git a/.github/ISSUE_TEMPLATE/report-a-bug.md b/.github/ISSUE_TEMPLATE/report-a-bug.md index cfe0af0..db998f9 100644 --- a/.github/ISSUE_TEMPLATE/report-a-bug.md +++ b/.github/ISSUE_TEMPLATE/report-a-bug.md @@ -4,28 +4,8 @@ about: Report an issue with the plugin title: '' labels: bug assignees: '' - --- -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Server Information (please complete the following information):** -- Version: (output of `/ver` command) -- Version of plugin and eco (`/ver eco`, `/ver `) +# Please report bugs on the discord! -**Additional context** -Add any other context about the problem here. +[Join by clicking here](https://discord.gg/ZcwpSsE/) diff --git a/.github/ISSUE_TEMPLATE/request-a-feature.md b/.github/ISSUE_TEMPLATE/request-a-feature.md deleted file mode 100644 index c53e2c5..0000000 --- a/.github/ISSUE_TEMPLATE/request-a-feature.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Request a Feature -about: Suggest an idea for this plugin -title: '' -labels: enhancement -assignees: '' - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml new file mode 100644 index 0000000..4a1a7c3 --- /dev/null +++ b/.github/workflows/publish-release.yml @@ -0,0 +1,33 @@ +name: Publish Packages +on: + workflow_dispatch: + release: + types: [ created ] + push: + tags: + - '*' + +jobs: + publish: + runs-on: ubuntu-latest + steps: + + - name: Checkout latest code + uses: actions/checkout@v2 + + - name: Set up JDK 17 + uses: actions/setup-java@v2 + with: + distribution: 'temurin' + java-version: 17 + + - name: Change wrapper permissions + run: chmod +x ./gradlew + + - name: Publish package + uses: gradle/gradle-build-action@v2 + with: + arguments: publish + env: + MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} + MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} diff --git a/build.gradle.kts b/build.gradle.kts index a58c7dc..9fac1bd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,7 +4,7 @@ plugins { `maven-publish` kotlin("jvm") version "1.7.10" id("com.github.johnrengelman.shadow") version "8.0.0" - id("com.willfp.libreforge.gradle") version "1.0.0" + id("com.willfp.libreforge-gradle-plugin") version "1.0.0" } group = "com.willfp" @@ -32,6 +32,7 @@ allprojects { mavenCentral() maven("https://repo.papermc.io/repository/maven-public/") + maven("https://repo.auxilor.io/repository/maven-public/") maven("https://jitpack.io") } diff --git a/eco-core/core-plugin/build.gradle.kts b/eco-core/core-plugin/build.gradle.kts index 450a31e..e67de82 100644 --- a/eco-core/core-plugin/build.gradle.kts +++ b/eco-core/core-plugin/build.gradle.kts @@ -12,6 +12,17 @@ publishing { artifactId = rootProject.name } } + + repositories { + maven { + name = "auxilor" + url = uri("https://repo.auxilor.io/repository/maven-releases/") + credentials { + username = System.getenv("MAVEN_USERNAME") + password = System.getenv("MAVEN_PASSWORD") + } + } + } } tasks { diff --git a/settings.gradle.kts b/settings.gradle.kts index bbcbe08..f8e3bc3 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -3,7 +3,7 @@ pluginManagement { gradlePluginPortal() mavenLocal() maven("https://repo.jpenilla.xyz/snapshots/") - maven("https://jitpack.io") + maven("https://repo.auxilor.io/repository/maven-public/") } }