]> git.seodisparate.com - TurnBasedMinecraftMod/commitdiff
Bump version, add j-ogg-vorbis dependency
authorStephen Seo <seo.disparate@gmail.com>
Mon, 8 Jan 2024 06:17:58 +0000 (15:17 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Mon, 8 Jan 2024 06:19:31 +0000 (15:19 +0900)
Updated README.md, Reproducibility.md, etc.

.forgejo/workflows/build-jar.yaml
Changelog.md
README.md
Reproducibility.md
build.gradle
gradle.properties
src/main/java/com/burnedkirby/TurnBasedMinecraft/common/TurnBasedMinecraftMod.java
src/main/resources/mcmod.info

index 8e6d84d826b9b2cae9ce8cf54e928b412cb75b53..0919cf256af9b5d15d0b5810ab78d7102e46c796 100644 (file)
@@ -1,4 +1,4 @@
-name: Build TurnBasedMC and store Artifact
+name: Build TurnBasedMC and create Release
 on:
   push:
     tags:
@@ -24,6 +24,7 @@ jobs:
           \"name\": \"TurnBasedMinecraftMod version ${GITHUB_REF_NAME}\",
           \"body\": \"See the [Changelog](https://git.seodisparate.com/stephenseo/TurnBasedMinecraftMod/src/branch/neoforge/Changelog.md)
 
+              (Using OpenJDK Java.)
               $(javac --version)
               $(find TurnBasedMinecraftMod/build/libs -regex '.*all.jar$' -exec sha256sum '{}' ';')\",
           \"tag_name\": \"${GITHUB_REF_NAME}\"
index 2881d8d8cb9d4a0bbd5c212e50c98f826ecda6bc..bef3c63a69fbab844927da5f84a35fa4dec6abdc 100644 (file)
@@ -1,5 +1,15 @@
 # Upcoming changes
 
+NeoForge: Will incorporate same changes as Forge-1.25.0.
+
+# Version Forge-1.25.0
+
+Remove usage of "shadow jar" in build.gradle, and use jarJar instead.
+
+Add new dependency `j-ogg-vorbis`.
+
+Implement playing Vorbis encoded .ogg files for battle/silly music.
+
 # Version NeoForge-1.24.0
 
 Update to NeoForge 1.20.2-20.2.88.
index bf67e84b5d79881eac661235b4d1d700048c3894..762f471887271b5ebbc36bf2758457f3d3652f17 100644 (file)
--- a/README.md
+++ b/README.md
@@ -65,7 +65,7 @@ configured for them.)
 # Building
 
 Simply invoke `./gradlew build` in the mod directory and after some time the
-finished jar will be saved at "build/libs/TurnBasedMinecraft-NeoForge-1.24.0-all.jar"
+finished jar will be saved at "build/libs/TurnBasedMinecraft-NeoForge-1.25.0-all.jar"
 
 # Reproducibility
 
@@ -74,6 +74,10 @@ more details.
 
 # Other notes
 
+This mod uses [j-ogg-vorbis](https://github.com/stephengold/j-ogg-all)
+available from [http://www.j-ogg.de](http://www.j-ogg.de) and copyrighted by
+Tor-Einar Jarnbjo.
+
 This mod also uses [JavaMP3](https://github.com/kevinstadler/JavaMP3)
 which is licensed under the [MIT License](https://github.com/kevinstadler/JavaMP3/blob/master/LICENSE).
 
index b4a1afaf432530f4b5482752a3d83587fb3afcd0..70540f456ed4033caf0daa8153050b49ee11fdf3 100644 (file)
@@ -4,6 +4,19 @@ Starting with version 1.24.0 of this mod, this file will list what version of
 Java was used to compile the jars. In theory, using the same version of Java
 should result in an identical jar due to reproducible builds.
 
+## Forge 1.25.0
+
+    $ java --version
+    openjdk 17.0.9 2023-10-17
+    OpenJDK Runtime Environment (build 17.0.9+8)
+    OpenJDK 64-Bit Server VM (build 17.0.9+8, mixed mode)
+
+    $ javac --version
+    javac 17.0.9
+
+    $ sha256sum build/libs/TurnBasedMinecraft-Forge-1.25.0-all.jar
+    51ef854552b180df68969f4cec6fdc8716ef519b947948b9e5f4ce9953d00162  build/libs/TurnBasedMinecraft-Forge-1.25.0-all.jar
+
 ## NeoForge 1.24.0
 
     $ java --version
index cc0c9727c322f129514120061f6c51865d30af28..d764faba7dcf6a19c6362cf8b240151b3ba5fc90 100644 (file)
@@ -5,7 +5,7 @@ plugins {
     id 'net.neoforged.gradle.userdev' version '7.0.57'
 }
 
-version = "1.24.0"
+version = "1.25.0"
 group = "com.burnedkirby.TurnBasedMinecraft"
 archivesBaseName = "TurnBasedMinecraft-NeoForge"
 
@@ -81,9 +81,13 @@ dependencies {
 //    implementation files('libs/javamp3-1.0.3.jar')
     implementation 'fr.delthas:javamp3:1.0.3'
 
+    implementation 'com.github.stephengold:j-ogg-vorbis:1.0.4'
+
     jarJar(group: 'fr.delthas', name: 'javamp3', version: '[1.0.0,2.0.0)') {
         jarJar.pin(it, '1.0.3')
     }
+
+    jarJar(group: 'com.github.stephengold', name: 'j-ogg-vorbis', version: '[1.0.4,2.0.0)')
 }
 
 // This block of code expands all declared replace properties in the specified resource targets.
index 6da0fe50196b533b952867fa6895fbabfef7b0ce..45e661c3073a08c380382c894fe6d7c8e31f15d0 100644 (file)
@@ -10,7 +10,7 @@ minecraft_version=1.20.2
 # as they do not follow standard versioning conventions.
 minecraft_version_range=[1.20.2,1.21)
 # The Neo version must agree with the Minecraft version to get a valid artifact
-neo_version=20.2.86
+neo_version=20.2.88
 # The Neo version range can use any version of Neo as bounds or match the loader version range
 neo_version_range=[20.2,)
 # The loader version range can only use the major version of Neo/FML as bounds
@@ -26,7 +26,7 @@ mod_name=TurnBasedMinecraftMod
 # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
 mod_license=MIT
 # The mod version. See https://semver.org/
-mod_version=1.24.0
+mod_version=1.25.0
 # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
 # This should match the base package used for the mod sources.
 # See https://maven.apache.org/guides/mini/guide-naming-conventions.html
index 6b412ce56b437c7bf9664c83ec6cf392d1f8e5bb..bcf99c1770d7cc826f9ab44176bc6a30274bad66 100644 (file)
@@ -40,7 +40,7 @@ import org.apache.logging.log4j.Logger;
 public class TurnBasedMinecraftMod {
     public static final String MODID = "com_burnedkirby_turnbasedminecraft";
     public static final String NAME = "Turn Based Minecraft Mod";
-    public static final String VERSION = "1.24.0";
+    public static final String VERSION = "1.25.0";
     public static final String CONFIG_FILENAME = "TBM_Config.toml";
     public static final String DEFAULT_CONFIG_FILENAME = "TBM_Config_DEFAULT.toml";
     public static final String CONFIG_DIRECTORY = "config/TurnBasedMinecraft/";
index f66983ae77d2c05cb79650fc8883650d5ff12a19..88511a47f779c2a18985924eecd545d09bf96dfb 100644 (file)
@@ -3,7 +3,7 @@
   "modid": "com_burnedkirby_turnbasedminecraft",
   "name": "Turn Based Minecraft",
   "description": "Changes battles to be turn-based.",
-  "version": "1.24.0",
+  "version": "1.25.0",
   "mcversion": "1.20.1",
   "url": "",
   "updateUrl": "",