Skip to content

Commit e9710a6

Browse files
Tigerpanzer02version-bump[github-action]
andauthored
#minor Running on java 8+ (#66)
* Bump version from 1.3.17 to 1.3.17-SNAPSHOT0 * Fixed scoreboard on FUll Game is showing waiting stage instead of starting * Bump version from 1.3.17-SNAPSHOT0 to 1.3.17-SNAPSHOT1 * Fixed leaving while full game stopped the game * Bump version from 1.3.17-SNAPSHOT1 to 1.3.17-SNAPSHOT2 * Attempt to switch to java 8 * Attempt to switch to java 8 * Attempt to switch to java 8 * Bump version from 1.3.17-SNAPSHOT2 to 1.3.17-SNAPSHOT3 * Attempt to switch to maven * Attempt to switch to maven * Bump version from 1.3.17-SNAPSHOT3 to 1.3.17-SNAPSHOT4 * Revert "Bump version from 1.3.17-SNAPSHOT3 to 1.3.17-SNAPSHOT4" This reverts commit cf631d6. * Revert "Attempt to switch to maven" This reverts commit 60fa68d. * Revert "Attempt to switch to maven" This reverts commit 17cd823. * Revert "Bump version from 1.3.17-SNAPSHOT2 to 1.3.17-SNAPSHOT3" This reverts commit 839f6d9. * Revert "Attempt to switch to java 8" This reverts commit 9fa28a8. * Revert "Attempt to switch to java 8" This reverts commit 087accd. * Revert "Attempt to switch to java 8" This reverts commit 327153f. * Bump version from 1.3.17-SNAPSHOT2 to 1.3.17-SNAPSHOT3 * Removed usage of org.apache.commons.lang * Fixed config saving on FileStats which caused player names to be empty * Bump version from 1.3.17-SNAPSHOT3 to 1.3.17-SNAPSHOT4 * Switch from gradle to maven attempt 2 * Switch from gradle to maven attempt 2 * Bump version from 1.3.17-SNAPSHOT4 to 1.3.17-SNAPSHOT5 * Switch from gradle to maven attempt 2 * Bump version from 1.3.17-SNAPSHOT5 to 1.3.17-SNAPSHOT6 * Switch from gradle to maven attempt 2 * Bump version from 1.3.17-SNAPSHOT6 to 1.3.17-SNAPSHOT7 * Use newer deploy plugin * Bump version from 1.3.17-SNAPSHOT7 to 1.3.17-SNAPSHOT8 * Fixed papi repo * Bump version from 1.3.17-SNAPSHOT8 to 1.3.17-SNAPSHOT9 * Updated deploy-master.yml to match maven building * Bump version from 1.3.17-SNAPSHOT9 to 1.3.17-SNAPSHOT10 * Updated deploy-master.yml to match maven building * Bump version from 1.3.17-SNAPSHOT10 to 1.3.17-SNAPSHOT11 * Updated poms to save some bytes on build * Bump version from 1.3.17-SNAPSHOT11 to 1.3.17-SNAPSHOT12 * Updated CHANGELOG.md * Bump version from 1.3.17-SNAPSHOT12 to 1.3.17-SNAPSHOT13 --------- Co-authored-by: version-bump[github-action] <41898282+version-bump[github-action]@users.noreply.github.com>
1 parent 7433cb8 commit e9710a6

File tree

42 files changed

+878
-95
lines changed

Some content is hidden

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

42 files changed

+878
-95
lines changed

.github/CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
### 1.3.16 Release (04.03.2025)
1+
### 1.4.0 Release (13.03.2025)
2+
* Fixed scoreboard on FUll Game is showing waiting stage instead of starting
3+
* Fixed leaving while full game stopped the game
4+
* Changed java compatibility backport to 1.8
5+
6+
### 1.3.17 Release (04.03.2025)
27
* Changed Scoreboard API (now paket based) (Thanks MrMicky-FR FastBoard)
38
* Changed Scoreboard on lower 1.12.2 now supports 30 chars
49
* Changed Scoreboard on 1.13+ now supports unlimited chars
@@ -9,7 +14,7 @@
914
* Fixed Progress must be between 0 and 1
1015
* Fixed ItemBuilder.glowEffect
1116

12-
### (1.3.11-)1.3.15 Release (17.02.2025)
17+
### (1.3.11-)1.3.16 Release (17.02.2025)
1318
* Added 1.21.1-4 support
1419
* Added (3) new ConfigOptions for ArmorStands (BLOCK_IN_GAME_ARMOR_STAND_DESTROY, BLOCK_IN_GAME_ARMOR_STAND_CHECK, BLOCK_IN_GAME_ARMOR_STAND_INTERACT)
1520
* Fixed arena start time divider did not match from config.yml
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<artifactId>minigamesbox</artifactId>
2525
<groupId>plugily.projects</groupId>
26-
<version>1.3.3.1-java8</version>
26+
<version>1.3.17-SNAPSHOT4</version>
2727
</parent>
2828
<modelVersion>4.0.0</modelVersion>
2929

@@ -53,8 +53,8 @@
5353
<url>https://maven.plugily.xyz/releases</url>
5454
</repository>
5555
<repository>
56-
<id>papi-repo</id>
57-
<url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
56+
<id>placeholderapi</id>
57+
<url>https://repo.extendedclip.com/releases/</url>
5858
</repository>
5959
</repositories>
6060

@@ -80,7 +80,7 @@
8080
<plugin>
8181
<groupId>org.apache.maven.plugins</groupId>
8282
<artifactId>maven-javadoc-plugin</artifactId>
83-
<version>3.4.0</version>
83+
<version>3.11.2</version>
8484
<configuration>
8585
<windowtitle>MiniGamesBox Inventory API docs for v${project.version}</windowtitle>
8686
<description>Library box with massive content that could be seen as minigames core.</description>
@@ -93,7 +93,7 @@
9393
<extension>
9494
<groupId>org.apache.maven.wagon</groupId>
9595
<artifactId>wagon-ssh</artifactId>
96-
<version>3.5.2</version>
96+
<version>3.5.3</version>
9797
</extension>
9898
</extensions>
9999
</build>
File renamed without changes.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
//CHECKSTYLE:OFF
2+
import org.gradle.util.GradleVersion;
3+
import org.gradle.groovy.scripts.BasicScript;
4+
import org.gradle.groovy.scripts.ScriptSource;
5+
import org.gradle.groovy.scripts.TextResourceScriptSource;
6+
import org.gradle.internal.resource.StringTextResource;
7+
/**
8+
* Precompiled plugily.projects.java-conventions script plugin.
9+
**/
10+
@SuppressWarnings("DefaultPackage")
11+
public class PlugilyProjectsJavaConventionsPlugin implements org.gradle.api.Plugin<org.gradle.api.internal.project.ProjectInternal> {
12+
private static final String MIN_SUPPORTED_GRADLE_VERSION = "5.0";
13+
@Override
14+
public void apply(org.gradle.api.internal.project.ProjectInternal target) {
15+
assertSupportedByCurrentGradleVersion();
16+
try {
17+
Class<? extends BasicScript> pluginsBlockClass = Class.forName("cp_precompiled_PlugilyProjectsJavaConventions").asSubclass(BasicScript.class);
18+
BasicScript pluginsBlockScript = pluginsBlockClass.getDeclaredConstructor().newInstance();
19+
pluginsBlockScript.setScriptSource(scriptSource(pluginsBlockClass));
20+
pluginsBlockScript.init(target, target.getServices());
21+
pluginsBlockScript.run();
22+
target.getPluginManager().apply("java-library");
23+
target.getPluginManager().apply("signing");
24+
target.getPluginManager().apply("maven-publish");
25+
26+
27+
Class<? extends BasicScript> precompiledScriptClass = Class.forName("precompiled_PlugilyProjectsJavaConventions").asSubclass(BasicScript.class);
28+
BasicScript script = precompiledScriptClass.getDeclaredConstructor().newInstance();
29+
script.setScriptSource(scriptSource(precompiledScriptClass));
30+
script.init(target, target.getServices());
31+
script.run();
32+
} catch (Exception e) {
33+
throw new RuntimeException(e);
34+
}
35+
}
36+
private static ScriptSource scriptSource(Class<?> scriptClass) {
37+
return new TextResourceScriptSource(new StringTextResource(scriptClass.getSimpleName(), ""));
38+
}
39+
private static void assertSupportedByCurrentGradleVersion() {
40+
if (GradleVersion.current().getBaseVersion().compareTo(GradleVersion.version(MIN_SUPPORTED_GRADLE_VERSION)) < 0) {
41+
throw new RuntimeException("Precompiled Groovy script plugins require Gradle "+MIN_SUPPORTED_GRADLE_VERSION+" or higher");
42+
}
43+
}
44+
}
45+
//CHECKSTYLE:ON
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
implementation-class=PlugilyProjectsJavaConventionsPlugin
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
implementation-class=PlugilyProjectsJavaConventionsPlugin
Binary file not shown.

0 commit comments

Comments
 (0)