mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Address reviews
This commit is contained in:
parent
cbcfb852b9
commit
74bd0bbf7c
4 changed files with 9 additions and 4 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 }}";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue