Skip to content

Commit 17123e9

Browse files
Tigerpanzer02version-bump[github-action]
andauthored
#patch Work with java8+ (#97)
* Bump version from 5.0.13 to 5.0.13-SNAPSHOT0 * Fixed NoSuchFieldError: Class org.bukkit.enchantments.Enchantment on some mc versions (e.g. 1.20) * Bump version from 5.0.13-SNAPSHOT0 to 5.0.13-SNAPSHOT1 * Updated ScoreboardManager to match new ScoreboardApi * Bump version from 5.0.13-SNAPSHOT1 to 5.0.13-SNAPSHOT2 * Updated ScoreboardManager to match new ScoreboardApi * Bump version from 5.0.13-SNAPSHOT2 to 5.0.13-SNAPSHOT3 * Changed plot distribution on team mode tries to create only full plots now Fixed plot distribution in same cases lets spectators into the plot as member Fixed game ending due to not enough players counted spectators * Bump version from 5.0.13-SNAPSHOT3 to 5.0.13-SNAPSHOT4 * Moved from gradle to maven to support java 8 language level again * Bump version from 5.0.13-SNAPSHOT4 to 5.0.13-SNAPSHOT5 * Moved from gradle to maven to support java 8 language level again * Bump version from 5.0.13-SNAPSHOT5 to 5.0.13-SNAPSHOT6 * Update citiziens repo * Bump version from 5.0.13-SNAPSHOT6 to 5.0.13-SNAPSHOT7 * MinimizeJar * Bump version from 5.0.13-SNAPSHOT7 to 5.0.13-SNAPSHOT8 * Fixed ${description} invalid * Bump version from 5.0.13-SNAPSHOT8 to 5.0.13-SNAPSHOT9 * Updated CHANGELOG.md * Bump version from 5.0.13-SNAPSHOT9 to 5.0.13-SNAPSHOT10 --------- Co-authored-by: version-bump[github-action] <41898282+version-bump[github-action]@users.noreply.github.com>
1 parent ca42285 commit 17123e9

File tree

17 files changed

+549
-99
lines changed

17 files changed

+549
-99
lines changed

.github/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ deploy webhooks to print changelog successfully
1010

1111
That's all, matcher will stop when detects next line started with `###` match
1212

13+
### 5.0.14 Release (13.03.2025)
14+
* Changed plot distribution on team mode tries to create only full plots now
15+
* Fixed plot distribution in same cases lets spectators into the plot as member
16+
* Fixed game ending due to not enough players counted spectators
17+
* Updated to minigamesbox 1.4.0
18+
1319
### 5.0.13 Release (18.02.2025)
1420
* Fixed Progress must be between 0 and 1
1521

build.gradle.kts renamed to .github/building/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ repositories {
4242
}
4343

4444
dependencies {
45-
implementation("plugily.projects:MiniGamesBox-Classic:1.3.16-SNAPSHOT1") { isTransitive = false }
45+
implementation("plugily.projects:MiniGamesBox-Classic:1.3.17") { isTransitive = false }
4646
compileOnly("io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT")
4747
compileOnly("net.citizensnpcs:citizensapi:2.0.31-SNAPSHOT")
4848
compileOnly("org.jetbrains:annotations:24.0.1")
4949
}
5050

5151
group = "plugily.projects"
52-
version = "5.0.13"
52+
version = "5.0.13-SNAPSHOT4"
5353
description = "BuildBattle"
5454

5555
java {
File renamed without changes.
File renamed without changes.

.github/building/pom.xml

Lines changed: 208 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,208 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~
4+
~ BuildBattle - Ultimate building competition minigame
5+
~ Copyright (C) 2021 Plugily Projects - maintained by Tigerpanzer_02, 2Wild4You and contributors
6+
~
7+
~ This program is free software: you can redistribute it and/or modify
8+
~ it under the terms of the GNU General Public License as published by
9+
~ the Free Software Foundation, either version 3 of the License, or
10+
~ (at your option) any later version.
11+
~
12+
~ This program is distributed in the hope that it will be useful,
13+
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
~ GNU General Public License for more details.
16+
~
17+
~ You should have received a copy of the GNU General Public License
18+
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
19+
~
20+
-->
21+
22+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23+
xmlns="http://maven.apache.org/POM/4.0.0"
24+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25+
<modelVersion>4.0.0</modelVersion>
26+
27+
<groupId>plugily.projects</groupId>
28+
<artifactId>buildbattle</artifactId>
29+
<version>5.0.13-SNAPSHOT5</version>
30+
<name>BuildBattle</name>
31+
32+
<properties>
33+
<java.version>1.8</java.version>
34+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35+
</properties>
36+
37+
<repositories>
38+
<repository>
39+
<id>papermc</id>
40+
<url>https://repo.papermc.io/repository/maven-public/</url>
41+
</repository>
42+
<repository>
43+
<id>plugilyprojects</id>
44+
<url>https://maven.plugily.xyz/releases</url>
45+
</repository>
46+
<repository>
47+
<id>plugilyprojects-snapshots</id>
48+
<url>https://maven.plugily.xyz/snapshots</url>
49+
</repository>
50+
<repository>
51+
<id>jitpack</id>
52+
<url>https://jitpack.io</url>
53+
</repository>
54+
<repository>
55+
<id>codemc-repo</id>
56+
<url>https://repo.codemc.org/repository/maven-public/</url>
57+
</repository>
58+
<repository>
59+
<id>spigot-repo</id>
60+
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
61+
</repository>
62+
<repository>
63+
<id>citizens-repo</id>
64+
<url>http://repo.citizensnpcs.co/</url>
65+
</repository>
66+
</repositories>
67+
68+
<dependencies>
69+
<dependency>
70+
<groupId>io.papermc.paper</groupId>
71+
<artifactId>paper-api</artifactId>
72+
<version>1.21.4-R0.1-SNAPSHOT</version>
73+
<scope>provided</scope>
74+
</dependency>
75+
<!-- https://mvnrepository.com/artifact/org.jetbrains/annotations -->
76+
<dependency>
77+
<groupId>org.jetbrains</groupId>
78+
<artifactId>annotations</artifactId>
79+
<version>23.0.0</version>
80+
<scope>provided</scope>
81+
</dependency>
82+
<dependency>
83+
<groupId>plugily.projects</groupId>
84+
<artifactId>MiniGamesBox-Classic</artifactId>
85+
<version>1.3.17-SNAPSHOT12</version>
86+
<scope>compile</scope>
87+
<optional>true</optional>
88+
</dependency>
89+
<dependency>
90+
<groupId>net.citizensnpcs</groupId>
91+
<artifactId>citizensapi</artifactId>
92+
<version>2.0.26-SNAPSHOT</version>
93+
<scope>provided</scope>
94+
<exclusions>
95+
<exclusion>
96+
<groupId>ch.ethz.globis.phtree</groupId>
97+
<artifactId>phtree</artifactId>
98+
</exclusion>
99+
</exclusions>
100+
</dependency>
101+
</dependencies>
102+
103+
<build>
104+
<resources>
105+
<resource>
106+
<directory>src/main/resources</directory>
107+
<filtering>true</filtering>
108+
</resource>
109+
</resources>
110+
<plugins>
111+
<plugin>
112+
<groupId>org.apache.maven.plugins</groupId>
113+
<artifactId>maven-compiler-plugin</artifactId>
114+
<version>3.14.0</version>
115+
<configuration>
116+
<source>${java.version}</source>
117+
<target>${java.version}</target>
118+
</configuration>
119+
</plugin>
120+
<plugin>
121+
<groupId>org.apache.maven.plugins</groupId>
122+
<artifactId>maven-site-plugin</artifactId>
123+
<version>3.21.0</version>
124+
</plugin>
125+
<plugin>
126+
<groupId>org.apache.maven.plugins</groupId>
127+
<artifactId>maven-deploy-plugin</artifactId>
128+
<version>3.1.4</version>
129+
</plugin>
130+
<plugin>
131+
<groupId>org.apache.maven.plugins</groupId>
132+
<artifactId>maven-project-info-reports-plugin</artifactId>
133+
<version>3.9.0</version>
134+
</plugin>
135+
<plugin>
136+
<groupId>org.apache.maven.plugins</groupId>
137+
<artifactId>maven-javadoc-plugin</artifactId>
138+
<version>3.11.2</version>
139+
<configuration>
140+
<windowtitle>BuildBattle API docs for v${project.version}</windowtitle>
141+
<description>Minecraft building minigame.
142+
The goal is to build the best you can! You must compete with other players in this building game.
143+
Who will be the best? Have fun using it! Leave a good rating if you really like it.
144+
</description>
145+
</configuration>
146+
</plugin>
147+
<plugin>
148+
<groupId>org.apache.maven.plugins</groupId>
149+
<artifactId>maven-jar-plugin</artifactId>
150+
<version>3.4.2</version>
151+
</plugin>
152+
<plugin>
153+
<groupId>org.apache.maven.plugins</groupId>
154+
<artifactId>maven-shade-plugin</artifactId>
155+
<version>3.6.0</version>
156+
<executions>
157+
<execution>
158+
<phase>package</phase>
159+
<goals>
160+
<goal>shade</goal>
161+
</goals>
162+
<configuration>
163+
<relocations>
164+
<relocation>
165+
<pattern>com.zaxxer.hikari</pattern>
166+
<shadedPattern>plugily.projects.buildbattle.database.hikari</shadedPattern>
167+
</relocation>
168+
<relocation>
169+
<pattern>plugily.projects.minigamesbox</pattern>
170+
<shadedPattern>plugily.projects.buildbattle.minigamesbox</shadedPattern>
171+
</relocation>
172+
</relocations>
173+
<createDependencyReducedPom>false</createDependencyReducedPom>
174+
</configuration>
175+
</execution>
176+
</executions>
177+
</plugin>
178+
179+
<!-- External beta versions discord deployer plugin -->
180+
<plugin>
181+
<groupId>plugily.projects</groupId>
182+
<artifactId>betty-maven-plugin</artifactId>
183+
<version>1.0.2</version>
184+
<configuration>
185+
<changelogFile>${project.basedir}/CHANGELOG.md</changelogFile>
186+
</configuration>
187+
</plugin>
188+
<!-- External beta versions discord deployer plugin -->
189+
</plugins>
190+
<extensions>
191+
<extension>
192+
<groupId>org.apache.maven.wagon</groupId>
193+
<artifactId>wagon-ssh</artifactId>
194+
<version>3.5.3</version>
195+
</extension>
196+
</extensions>
197+
</build>
198+
<distributionManagement>
199+
<repository>
200+
<id>Release</id>
201+
<url>https://maven.plugily.xyz/releases</url>
202+
</repository>
203+
<snapshotRepository>
204+
<id>Snapshot</id>
205+
<url>https://maven.plugily.xyz/snapshots</url>
206+
</snapshotRepository>
207+
</distributionManagement>
208+
</project>
File renamed without changes.

.github/workflows/deploy-development.yml

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@ jobs:
1010
steps:
1111
- name: Checkout Latest Commit
1212
uses: actions/checkout@v4.2.2
13-
- name: Grant execute permission for gradlew
14-
run: chmod +x gradlew
1513
- name: Bump Version
1614
id: bump
17-
uses: Plugily-Projects/version-bump-action@v8
15+
uses: Plugily-Projects/version-bump-action@v10
1816
with:
1917
github-token: ${{ secrets.github_token }}
2018
auto-version-bump: true
@@ -34,10 +32,23 @@ jobs:
3432
distribution: 'temurin'
3533
java-version: '21'
3634
java-package: jdk
37-
- name: Grant execute permission for gradlew
38-
run: chmod +x gradlew
39-
- name: Publish with Gradle
40-
run: ./gradlew publishMavenPublicationToSnapshotsRepository
41-
env:
42-
MAVEN_USERNAME: ${{ secrets.SNAPSHOTSUSERNAME }}
43-
MAVEN_PASSWORD: ${{ secrets.SNAPSHOTSPASSWORD }}
35+
- name: Set up Maven
36+
uses: stCarolas/setup-maven@v5
37+
with:
38+
maven-version: 3.8.2
39+
- name: Cache
40+
uses: actions/cache@v4.2.2
41+
with:
42+
path: ~/.m2/repository
43+
key: maven-${{ hashFiles('**/pom.xml') }}
44+
restore-keys: maven-
45+
- name: Publish with Maven
46+
uses: s4u/maven-settings-action@v3.1.0
47+
with:
48+
servers: |
49+
[{
50+
"id": "Snapshot",
51+
"username": "${{ secrets.SNAPSHOTSUSERNAME }}",
52+
"password": "${{ secrets.SNAPSHOTSPASSWORD }}"
53+
}]
54+
- run: mvn clean verify compile package site:site javadoc:javadoc javadoc:jar deploy -DaltDeploymentRepository=Snapshot::https://maven.plugily.xyz/snapshots -f pom.xml

.github/workflows/deploy-master.yml

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@ jobs:
1212
steps:
1313
- name: Checkout Latest Commit
1414
uses: actions/checkout@v4.2.2
15-
- name: Grant execute permission for gradlew
16-
run: chmod +x gradlew
1715
- name: Bump Version
1816
id: bump
19-
uses: Plugily-Projects/version-bump-action@v8
17+
uses: Plugily-Projects/version-bump-action@v10
2018
with:
2119
github-token: ${{ secrets.github_token }}
2220
auto-version-bump: false
@@ -37,10 +35,23 @@ jobs:
3735
distribution: 'temurin'
3836
java-version: '21'
3937
java-package: jdk
40-
- name: Grant execute permission for gradlew
41-
run: chmod +x gradlew
42-
- name: Publish with Gradle
43-
run: ./gradlew publishMavenPublicationToReleasesRepository
44-
env:
45-
MAVEN_USERNAME: ${{ secrets.RELEASESUSERNAME }}
46-
MAVEN_PASSWORD: ${{ secrets.RELEASESPASSWORD }}
38+
- name: Set up Maven
39+
uses: stCarolas/setup-maven@v5
40+
with:
41+
maven-version: 3.8.2
42+
- name: Cache
43+
uses: actions/cache@v4.2.2
44+
with:
45+
path: ~/.m2/repository
46+
key: maven-${{ hashFiles('**/pom.xml') }}
47+
restore-keys: maven-
48+
- name: Publish with Maven
49+
uses: s4u/maven-settings-action@v3.1.0
50+
with:
51+
servers: |
52+
[{
53+
"id": "Release",
54+
"username": "${{ secrets.RELEASESUSERNAME }}",
55+
"password": "${{ secrets.RELEASESPASSWORD }}"
56+
}]
57+
- run: mvn clean verify compile package site:site javadoc:javadoc javadoc:jar deploy -DaltDeploymentRepository=Release::https://maven.plugily.xyz/releases -f pom.xml

0 commit comments

Comments
 (0)