Skip to content

Commit e4a2cf2

Browse files
theEvilReaperTheMeinerLPrenovate[bot]
authored
Release 1.8.0 (#29)
* Update renovate configuration to use our new schemas * Update release page url * Improve readme content * Update version in the readme file * Allow renovate to update the current version in the readme file * Fix wrong compare call * Remove the ability to change the name after a phase is created * Remove tests which deals with the name change * Fix missing parameter in super call * Update constructor definition * Update constructor usage in several test cases * Remove unused constructors * Overhaul team event structure * Update event calls * Update team event tests * Remove an empty line * Remove test class for the MultiPlayerTeamEvent * Add documentation * Update settings.gradle.kts * Add close invalid prs workflow * Add build pr workflow * Remove generic usage in the team service * Improve documentation * Update generic usage in the test * Remove generic usage in the team distribution * Add annotation to a parameter * Update dependency gradle to v9 (#25) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update gradle action usage * Overhaul documentation and add javaDoc task (#26) * Add java doc tasks * Add or improve documentation * Overhaul phase documentation * Small documentation adjustments * Add constructor documentation Add constructor documentation * Remove generic comment * Add missing documentation * Documentation changes * Improve parameter documentation * Improve constructor documentation * Fix typo in documentation --------- Co-authored-by: theEvilReaper <[email protected]> * Remove component check in the remove method * Improve jetbrains annotation usage * Update bom and aves dependency * Update actions/checkout action to v5 (#28) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Add components to teams and kits (#27) * Add component structure * Add ColorComponent implementation * Add usage of the adventure key class * Remove unused team code * Update team relevant tests * Add DefaultTeam class * Remove team creator * More test updates for the team part * Add key usage to the kit part * Cleanup kit related code * Improve documentation * Rename some classes * Add TeamService integration test * Update constructor usage * Remove DefaultKitServiceTest * Remove debugs * Update compareTo * Overhaul team tests * Remove the ability to store which kit a player currently has * Remove the method which allows the removal of a kit via its object reference * Overhaul test structure from the kit service * Remove inheritance from the ItemShiftOption class * Add dedicated class for the test kit * Add KitTest class * Remove Aves integration --------- Co-authored-by: theEvilReaper <[email protected]> * Update version --------- Co-authored-by: theEvilReaper <[email protected]> Co-authored-by: Phillipp Glanz <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent db91e9e commit e4a2cf2

File tree

76 files changed

+1882
-2369
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+1882
-2369
lines changed

.github/workflows/build_pr.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build PR
2+
on: [pull_request]
3+
jobs:
4+
build_pr:
5+
if: github.repository_owner == 'OneLiteFeatherNET'
6+
name: Build Pull Request Branch
7+
runs-on: ${{ matrix.os }}
8+
env:
9+
ONELITEFEATHER_MAVEN_USERNAME: ${{ secrets.ONELITEFEATHER_MAVEN_USERNAME }}
10+
ONELITEFEATHER_MAVEN_PASSWORD: ${{ secrets.ONELITEFEATHER_MAVEN_PASSWORD }}
11+
strategy:
12+
matrix:
13+
os: [ubuntu-latest, windows-latest, macos-latest]
14+
steps:
15+
- name: Checkout Repository
16+
uses: actions/checkout@v5
17+
- name: Setup Gradle
18+
uses: gradle/actions/setup-gradle@v4
19+
- name: Setup Java
20+
uses: actions/setup-java@v4
21+
with:
22+
distribution: temurin
23+
java-version: 21
24+
- name: Build on ${{ matrix.os }}
25+
run: ./gradlew clean build
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Close invalid PRs
2+
3+
on:
4+
pull_request_target:
5+
types: [ opened ]
6+
7+
jobs:
8+
run:
9+
if: ${{ github.repository != github.event.pull_request.head.repo.full_name && github.head_ref == 'develop' }}
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: superbrothers/close-pull-request@v3
13+
with:
14+
comment: "Please do not open pull requests from the `develop` branch, create a new branch instead."

.github/workflows/publishing.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,19 @@ jobs:
1414

1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v4
18-
17+
uses: actions/checkout@v5
18+
- name: Setup Gradle
19+
uses: gradle/actions/setup-gradle@v4
1920
- name: Set up JDK 21
2021
uses: actions/setup-java@v4
2122
with:
2223
distribution: 'temurin'
2324
java-version: '21'
24-
2525
- name: Build with Gradle
2626
run: ./gradlew build
2727
env:
2828
ONELITEFEATHER_MAVEN_USERNAME: ${{ secrets.ONELITEFEATHER_MAVEN_USERNAME }}
2929
ONELITEFEATHER_MAVEN_PASSWORD: ${{ secrets.ONELITEFEATHER_MAVEN_PASSWORD }}
30-
3130
- name: Publish to Maven
3231
run: ./gradlew publish
3332
env:

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,13 @@ context. Failing to do so may result in unexpected behavior or unintended side e
2828

2929
## Getting Started
3030

31-
The usage of Xerus requires the Minestom / Microtus dependencies are included in your project.
32-
If that is the case, you can add the Xerus library to your project using the following dependency:
33-
`net.theevilreaper.xerus:xerus:<version>`.
34-
Replace `<version>` with the desired version of the library.
35-
When you need a specific version, please check
36-
the [Release Page](https://gitlab.onelitefeather.dev/dungeon/libs/xerus/-/releases)
31+
To use **Xerus**, you must first have [**Minestom**](https://github.com/Minestom/Minestom) set up in your project.
32+
Once that's done, add the following dependency to your `build.gradle.kts` file:
33+
34+
```kotlin
35+
dependencies {
36+
implementation("net.theevilreaper:xerus:1.0.0")
37+
}
38+
```
39+
40+
Other releases can be found on the [Release Page](https://github.com/OneLiteFeatherNET/Xerus/releases)

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@ plugins {
77
}
88

99
group = "net.theevilreaper"
10-
version = "1.7.2"
10+
version = "1.8.0"
1111

1212
java {
1313
toolchain {
1414
languageVersion.set(JavaLanguageVersion.of(21))
1515
}
16+
withJavadocJar()
17+
withSourcesJar()
1618
}
1719

1820
dependencies {
1921
implementation(platform(libs.bom.base))
2022
compileOnly(libs.minestom)
21-
compileOnly(libs.aves)
2223
compileOnly(libs.adventure)
2324
testImplementation(platform(libs.bom.base))
2425
testImplementation(libs.minestom)
25-
testImplementation(libs.aves)
2626
testImplementation(libs.cyano)
2727
testImplementation(libs.adventure)
2828
testImplementation(libs.junit.api)

gradle/wrapper/gradle-wrapper.jar

1.65 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
#
4-
# Copyright © 2015-2021 the original authors.
4+
# Copyright © 2015 the original authors.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.

renovate.json

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
4-
"config:base",
4+
"github>OneLiteFeatherNET/renovate:default(OneLiteFeatherNET/aves-maintainers)",
5+
"github>OneLiteFeatherNET/renovate:minestom",
56
":semanticCommitsDisabled"
67
],
7-
"labels": [
8-
"Renovate"
9-
],
10-
"rebaseWhen": "conflicted",
11-
"packageRules": [
8+
"customManagers": [
129
{
13-
"matchUpdateTypes": [
14-
"patch"
10+
"customType": "regex",
11+
"managerFilePatterns": [
12+
"/README.md/"
13+
],
14+
"matchStrings": [
15+
"implementation\\(\"net\\.theevilreaper:xerus:(?<currentValue>.*?)\""
1516
],
16-
"automerge": true
17+
"datasourceTemplate": "maven",
18+
"depNameTemplate": "net.theevilreaper:xerus"
1719
}
1820
]
1921
}

settings.gradle.kts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ pluginManagement {
99

1010
dependencyResolutionManagement {
1111
repositories {
12-
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
1312
maven {
1413
name = "OneLiteFeatherRepository"
1514
url = uri("https://repo.onelitefeather.dev/onelitefeather")
@@ -29,15 +28,13 @@ dependencyResolutionManagement {
2928
}
3029
versionCatalogs {
3130
create("libs") {
32-
version("bom", "1.4.2")
33-
version("aves", "1.11.0")
31+
version("bom", "1.4.3")
3432
version("publishdata", "1.4.0")
3533

3634
library("bom.base", "net.onelitefeather", "mycelium-bom").versionRef("bom")
3735
library("adventure", "net.kyori", "adventure-text-minimessage").withoutVersion()
3836
library("minestom", "net.minestom", "minestom").withoutVersion()
3937
library("cyano", "net.onelitefeather", "cyano").withoutVersion()
40-
library("aves", "net.theevilreaper", "aves").versionRef("aves")
4138
library("junit.api", "org.junit.jupiter", "junit-jupiter-api").withoutVersion()
4239
library("junit.engine", "org.junit.jupiter", "junit-jupiter-engine").withoutVersion()
4340
library("mockito.core", "org.mockito", "mockito-core").withoutVersion()

0 commit comments

Comments
 (0)