Address reviews

This commit is contained in:
onebeastchris 2024-07-15 17:27:27 +02:00
parent cbcfb852b9
commit 74bd0bbf7c
4 changed files with 9 additions and 4 deletions

View file

@ -9,12 +9,13 @@ dependencies {
}
version = property("version")!!
val apiVersion = (version as String).removeSuffix("-SNAPSHOT")
sourceSets {
main {
blossom {
javaSources {
property("version", version as String)
property("version", apiVersion)
}
}
}

View file

@ -23,9 +23,12 @@
* @link https://github.com/GeyserMC/Geyser
*/
package org.geysermc.api.util;
package org.geysermc.geyser.api.util;
// This class is auto-generated.
/**
* Not a public API. For internal use only. May change without notice.
* This class is processed before compilation to insert build properties.
*/
public class BuildData {
public static final String VERSION = "{{ version }}";
}

View file

@ -37,6 +37,7 @@ import org.geysermc.geyser.api.event.EventRegistrar;
import org.geysermc.geyser.api.extension.ExtensionManager;
import org.geysermc.geyser.api.network.BedrockListener;
import org.geysermc.geyser.api.network.RemoteServer;
import org.geysermc.geyser.api.util.BuildData;
import org.geysermc.geyser.api.util.MinecraftVersion;
import org.geysermc.geyser.api.util.PlatformType;

View file

@ -1,5 +1,5 @@
[versions]
base-api = "1.1.0-SNAPSHOT"
base-api = "1.0.1-SNAPSHOT"
cumulus = "1.1.2"
erosion = "1.1-20240515.191456-1"
events = "1.1-SNAPSHOT"