Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
7bd0cc8
WIP - cracked the way to do it using Paper API only.
tastybento Dec 14, 2025
4767df0
Tested and works on 1.21.10 and 11
tastybento Dec 14, 2025
0b197dd
Verified and tested on 1.21.5 through to 1.21.11
tastybento Dec 14, 2025
adb35c4
Gradle conversion - compiles and tests
tastybento Dec 15, 2025
5c92971
Remove old file
tastybento Dec 15, 2025
681c9e7
Added documentation
tastybento Dec 15, 2025
1df2ac1
Revert "Added documentation"
tastybento Dec 15, 2025
bae6c82
Match name of file
tastybento Dec 15, 2025
a3166ab
Documentation redo
tastybento Dec 15, 2025
f6dc916
Added paperweight-userdev
tastybento Dec 15, 2025
8c20075
Add prevention of using paperweight during tests
tastybento Dec 15, 2025
4223095
Modify build workflow for SonarQube and Gradle
tastybento Dec 16, 2025
6a4a789
Add SonarCube to Gradle build
tastybento Dec 16, 2025
b642607
Merge branch 'gradle_conversion' of https://github.com/BentoBoxWorld/…
tastybento Dec 16, 2025
34b1b96
Fix for GitHub action build?
tastybento Dec 16, 2025
c2ccefb
Grant execute permission for gradlew
tastybento Dec 16, 2025
5fa23e0
Add missing gradle jar file
tastybento Dec 16, 2025
376c9b7
Merge branch 'gradle_conversion' of https://github.com/BentoBoxWorld/…
tastybento Dec 16, 2025
a964e4d
Merge branch 'gradle_conversion' in.
tastybento Dec 16, 2025
42f69d3
Adjust name of snapshot
tastybento Dec 16, 2025
b822ab3
Fix to enable javadoc building
tastybento Dec 16, 2025
765c5f4
Update publishing to match CodeMc's instructions.
tastybento Dec 16, 2025
6078b88
Version 3.11.0
tastybento Dec 16, 2025
663899f
Adjust creds for nexus upload
tastybento Dec 16, 2025
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
35 changes: 14 additions & 21 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
name: Build
name: SonarQube
on:
push:
branches:
- develop
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Build
name: Build and analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -17,31 +16,25 @@ jobs:
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '21'
- name: Cache SonarCloud packages
java-version: 21
distribution: 'zulu' # Alternative distribution options are available
- name: Cache SonarQube packages
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages
- name: Cache Gradle packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build and analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=BentoBoxWorld_BentoBox
- name: Debug - List target directory
run: ls -la /home/runner/work/BentoBox/BentoBox/target
- run: mvn --batch-mode clean org.jacoco:jacoco-maven-plugin:prepare-agent install
- run: mkdir staging && cp target/*.jar staging
- name: Save artifacts
uses: actions/upload-artifact@v4
with:
name: Package
path: staging
run: ./gradlew build sonar --info
44 changes: 0 additions & 44 deletions .github/workflows/modrinth-publish.yml

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ $RECYCLE.BIN/
*.log
*.ctxt
.mtj.tmp/
*.jar
*.war
*.nar
*.ear
Expand Down
Empty file.
Loading