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
17 changes: 12 additions & 5 deletions .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
name: Build, Test, and Publish

# Build, Test, and Publish
#
# - Runs on any push (any branch) and on pushed tags matching v*
# - The publish step only runs when the ref is a tag that starts with "v"
on:
push:
branches:
- '**'
tags:
- 'v*'

Expand All @@ -11,12 +15,14 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up JDK 21
- name: Set up JDK 25
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
java-version: '25'

- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand All @@ -38,7 +44,8 @@ jobs:
run: ./gradlew test

- name: Publish to UTF MVN Repository
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
env:
UTF_MVN_USER: ${{ secrets.UTF_MVN_USER }}
UTF_MVN_PASS: ${{ secrets.UTF_MVN_PASS }}
run: ./gradlew publishAllPublicationsToUtfMvnRepository
run: ./gradlew publishAllPublicationsToUtfMvnRepository
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Fri Sep 06 18:41:36 BST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
3 changes: 1 addition & 2 deletions minestom/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ plugins {
repositories {
mavenCentral()
maven { url = uri("https://mvn.utf.lol/releases") }
maven { url = uri("https://jitpack.io") }
maven("https://repo.panda-lang.org/releases")
}

dependencies {

compileOnly("net.minestom:minestom:2025.10.31-1.21.10")
compileOnly("com.github.TogAr2:MinestomPvP:56a831b41c")
compileOnly("io.github.togar2:MinestomPvP:60152fa5eb")
api(project(":core"))
compileOnly("org.readutf.buildformat:common:v2.0.10")

Expand Down