-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fdef7aa
commit 7e011ae
Showing
28 changed files
with
221 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ on: | |
pull_request: | ||
branches: | ||
- stable | ||
- develop | ||
- dev | ||
|
||
paths: | ||
- '**/*.kt' | ||
|
@@ -19,47 +19,36 @@ jobs: | |
- uses: actions/checkout@v4 | ||
|
||
# https://github.com/marketplace/actions/setup-java-jdk | ||
- name: Set up JDK 17 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 21 | ||
distribution: temurin | ||
|
||
- name: Set gradlew execution permission | ||
run: chmod u+x gradlew | ||
# https://github.com/marketplace/actions/build-with-gradle | ||
- name: Set up Gradle | ||
uses: gradle/actions/setup-gradle@v4 | ||
|
||
# https://github.com/marketplace/actions/gradle-build-action | ||
- name: Build artifacts | ||
uses: gradle/actions/setup-gradle@v3 | ||
with: | ||
arguments: shadowJar | ||
run: ./gradlew shadowJar | ||
|
||
ktlint: | ||
detekt: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# https://github.com/marketplace/actions/checkout | ||
- uses: actions/checkout@v4 | ||
|
||
# https://github.com/marketplace/actions/run-ktlint-with-reviewdog | ||
- uses: ScaCap/[email protected] | ||
# https://github.com/marketplace/actions/setup-java-jdk | ||
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
ktlint_version: '1.3.1' | ||
reporter: github-pr-review | ||
fail_on_error: true | ||
|
||
detekt: | ||
runs-on: ubuntu-latest | ||
java-version: 21 | ||
distribution: temurin | ||
|
||
steps: | ||
# https://github.com/marketplace/actions/checkout | ||
- uses: actions/checkout@v4 | ||
# https://github.com/marketplace/actions/build-with-gradle | ||
- name: Set up Gradle | ||
uses: gradle/actions/setup-gradle@v4 | ||
|
||
# https://github.com/marketplace/actions/run-detekt-with-reviewdog | ||
- name: Run detekt with reviewdog | ||
uses: alaegin/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
detekt_config: config/detekt/detekt.yml | ||
detekt_build_upon_default_config: true | ||
- name: Run Detekt | ||
run: ./gradlew detekt |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
.../runConfigurations/Gateway__runLints_.xml → .idea/runConfigurations/Gateway__detekt_.xml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## 1.6.4 - 2024-10-20 | ||
|
||
### Added | ||
|
||
- A better changelog (this) | ||
- Quality of life enhancements for development | ||
|
||
### Changed | ||
|
||
- Some minor fixes to Discord commands to have consistent punctuation | ||
- Moved Discord strings to a new location to support future i18n | ||
- Updated Kordex and relevant plugins | ||
|
||
### Removed | ||
|
||
- Unnecessary plugin build steps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Kordex look at this | ||
ENVIRONMENT=dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
# Project info | ||
version=1.6.3 | ||
version=1.6.4 | ||
group=com.rose.gateway | ||
# Target versions for compiled app | ||
# Target version for compiled app | ||
jvmTargetVersion=21 | ||
kotlinTargetVersion=2.0 | ||
# Version to use for testing | ||
minecraftTestVersion=1.21.1 | ||
# Code style configuration | ||
# https://github.com/pinterest/ktlint | ||
ktlintVersion=1.3.1 | ||
# https://detekt.dev/ | ||
detektVersion=1.23.7 |
Oops, something went wrong.