diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index ecd49b82..cea14e57 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 cfe0af0c..db998f97 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. +# Please report bugs on the discord! -**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 `) - -**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 c53e2c5e..00000000 --- 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-tag.yml b/.github/workflows/publish-tag.yml new file mode 100644 index 00000000..421eee52 --- /dev/null +++ b/.github/workflows/publish-tag.yml @@ -0,0 +1,32 @@ +name: Publish Packages +on: + workflow_dispatch: + release: + types: [created] + tag: + types: [created] + +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 750f91c6..e314056b 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" @@ -33,6 +33,7 @@ allprojects { maven("https://repo.papermc.io/repository/maven-public/") maven("https://jitpack.io") + maven("https://repo.auxilor.io/repository/maven-public/") maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/") maven("https://repo.codemc.org/repository/nms/") maven("https://repo.essentialsx.net/releases/") diff --git a/eco-core/core-plugin/build.gradle.kts b/eco-core/core-plugin/build.gradle.kts index 6488944d..3f92639e 100644 --- a/eco-core/core-plugin/build.gradle.kts +++ b/eco-core/core-plugin/build.gradle.kts @@ -25,4 +25,15 @@ 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") + } + } + } } diff --git a/settings.gradle.kts b/settings.gradle.kts index b37f0e84..147af1fd 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -2,7 +2,7 @@ pluginManagement { repositories { gradlePluginPortal() mavenLocal() - maven("https://jitpack.io") + maven("https://repo.auxilor.io/repository/maven-public/") } }