Skip to content

Commit

Permalink
Add dependencies list with string expanding
Browse files Browse the repository at this point in the history
  • Loading branch information
nahkd123 committed Aug 12, 2023
1 parent 6714339 commit 4ac7891
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion fabric/src/main/java/stonks/fabric/StonksFabric.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
import org.slf4j.LoggerFactory;

import nahara.common.configurations.Config;
import nahara.modkit.annotations.v1.Dependencies;
import nahara.modkit.annotations.v1.Dependency;
import nahara.modkit.annotations.v1.EntryPoint;
import nahara.modkit.annotations.v1.Mod;
import net.fabricmc.fabric.api.command.v2.CommandRegistrationCallback;
Expand Down Expand Up @@ -62,10 +64,16 @@
@Mod(
modid = StonksFabric.MODID,
name = "Stonks2",
version = "2.0.0", // TODO use string template
version = "${stonks_version}",
description = "Stonks2 for Fabric",
authors = "nahkd123",
license = "MIT")
@Dependencies({
@Dependency(value = "fabricloader", version = ">=${loader_version}"),
@Dependency(value = "minecraft", version = "~${minecraft_version}"),
@Dependency(value = "java", version = ">=17"),
@Dependency(value = "fabric-api", version = ">=${fabric_version}")
})
public class StonksFabric {
public static final String MODID = "stonks";
public static final Logger LOGGER = LoggerFactory.getLogger(MODID);
Expand Down

0 comments on commit 4ac7891

Please sign in to comment.