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 7e11067..bfe847d 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") maven("https://mvn.lumine.io/repository/maven-public/") } diff --git a/eco-core/core-plugin/build.gradle.kts b/eco-core/core-plugin/build.gradle.kts index 30529f5..04795d1 100644 --- a/eco-core/core-plugin/build.gradle.kts +++ b/eco-core/core-plugin/build.gradle.kts @@ -16,6 +16,19 @@ publishing { artifactId = rootProject.name } } + + publishing { + 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/gradle.properties b/gradle.properties index 318f3d5..b7da327 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ #libreforge-updater -#Tue Mar 28 21:40:37 BST 2023 +#Tue Mar 28 22:06:43 BST 2023 kotlin.code.style=official libreforge-version=4.0.0 version=2.0.0 diff --git a/settings.gradle.kts b/settings.gradle.kts index 2f60f46..0e280be 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/") } }