Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ jobs:
run: |
echo "87.251.74.5 maven.elytrium.net" | sudo tee -a /etc/hosts
- name: Checkout
uses: actions/checkout@v4.2.2
uses: actions/checkout@v6.0.2
- name: Set up JDK
uses: actions/setup-java@v4.7.0
uses: actions/setup-java@v5.2.0
with:
distribution: adopt
java-version: 17
distribution: temurin
java-version: 21
- name: Build FastMOTD
run: ./gradlew build
- name: Upload FastMOTD
uses: actions/upload-artifact@v4.6.2
uses: actions/upload-artifact@v7.0.0
with:
name: FastMOTD
path: "build/libs/FastMOTD*.jar"
- uses: dev-drprasad/delete-tag-and-release@v0.2.1
- uses: dev-drprasad/delete-tag-and-release@v1.1
if: ${{ github.event_name == 'push' }}
with:
delete_release: true
Expand All @@ -47,7 +47,7 @@ jobs:
echo "::set-output name=jarname::$output"
- name: Release the build
if: ${{ github.event_name == 'push' }}
uses: ncipollo/release-action@v1
uses: ncipollo/release-action@v1.20.0
with:
artifacts: build/libs/${{ steps.find-jar.outputs.jarname }}
body: ${{ join(github.event.commits.*.message, '\n') }}
Expand All @@ -56,7 +56,7 @@ jobs:
tag: dev-build
- name: Upload to Modrinth
if: ${{ github.event_name == 'push' }}
uses: RubixDev/modrinth-upload@v1.0.0
uses: RubixDev/modrinth-upload@v1
with:
token: ${{ secrets.MODRINTH_TOKEN }}
file_path: build/libs/${{ steps.find-jar.outputs.jarname }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.2.2
uses: actions/checkout@v6.0.2
- name: Set up JDK
uses: actions/setup-java@v4.7.0
uses: actions/setup-java@v5.2.0
with:
distribution: adopt
java-version: 17
distribution: temurin
java-version: 21
- name: Build FastMOTD
run: ./gradlew build
- name: Upload FastMOTD
uses: actions/upload-artifact@v4.6.2
uses: actions/upload-artifact@v7.0.0
with:
name: FastMOTD
path: "build/libs/FastMOTD*.jar"
Expand All @@ -28,7 +28,7 @@ jobs:
output="$(find build/libs/ ! -name "*-javadoc.jar" ! -name "*-sources.jar" -type f -printf "%f\n")"
echo "::set-output name=jarname::$output"
- name: Upload to the GitHub release
uses: actions/upload-release-asset@v1
uses: actions/upload-release-asset@v1.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -37,7 +37,7 @@ jobs:
asset_name: ${{ steps.find-jar.outputs.jarname }}
asset_content_type: application/java-archive
- name: Upload to Modrinth
uses: RubixDev/modrinth-upload@v1.0.0
uses: RubixDev/modrinth-upload@v1
with:
token: ${{ secrets.MODRINTH_TOKEN }}
file_path: build/libs/${{ steps.find-jar.outputs.jarname }}
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.9
1.0.10
28 changes: 14 additions & 14 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
plugins {
id("java")
id("checkstyle")
id("com.github.spotbugs").version("6.1.7")
id("com.github.spotbugs").version("6.4.8")
id("org.cadixdev.licenser").version("0.6.1")
id("com.gradleup.shadow").version("8.3.6")
id("com.gradleup.shadow").version("9.3.2")
}

setGroup("net.elytrium")
setVersion("1.0.9")
setVersion("1.0.10")

java {
setSourceCompatibility(JavaVersion.VERSION_17)
setTargetCompatibility(JavaVersion.VERSION_17)
setSourceCompatibility(JavaVersion.VERSION_21)
setTargetCompatibility(JavaVersion.VERSION_21)
}

compileJava {
Expand All @@ -40,15 +40,15 @@ dependencies {
implementation("net.elytrium:fastprepare:1.0.13")
implementation("net.elytrium:serializer:1.1.1")
implementation("it.unimi.dsi:fastutil-core:8.5.18")
compileOnly("com.velocitypowered:velocity-api:3.4.0-SNAPSHOT")
annotationProcessor("com.velocitypowered:velocity-api:3.4.0-SNAPSHOT")
compileOnly("com.velocitypowered:velocity-proxy:3.4.0-SNAPSHOT")
compileOnly("com.github.spotbugs:spotbugs-annotations:4.9.3")
compileOnly("com.velocitypowered:velocity-api:3.5.0-SNAPSHOT")
annotationProcessor("com.velocitypowered:velocity-api:3.5.0-SNAPSHOT")
compileOnly("com.velocitypowered:velocity-proxy:3.5.0-SNAPSHOT")
compileOnly("com.github.spotbugs:spotbugs-annotations:4.9.8")

compileOnly("io.netty:netty-codec:4.2.7.Final")
compileOnly("io.netty:netty-handler:4.2.7.Final")
compileOnly("io.netty:netty-codec:4.2.10.Final")
compileOnly("io.netty:netty-handler:4.2.10.Final")

implementation("org.bstats:bstats-velocity:3.0.0")
implementation("org.bstats:bstats-velocity:3.2.1")
}

shadowJar {
Expand Down Expand Up @@ -112,7 +112,7 @@ license {
}

checkstyle {
setToolVersion("10.1")
setToolVersion("13.3.0")
setConfigFile(file("${this.getRootDir()}/config/checkstyle/checkstyle.xml"))
setConfigProperties("configDirectory": "${this.getRootDir()}/config/checkstyle")

Expand Down Expand Up @@ -147,4 +147,4 @@ sourceSets.main.getJava().srcDir(getTasks().register("generateTemplates", Copy)
it.getOutputs()
})

assemble.dependsOn(shadowJar)
assemble.dependsOn(shadowJar)
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 3 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.4-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
43 changes: 30 additions & 13 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading