Skip to content

Commit

Permalink
Add more common dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyrofab committed Jan 3, 2024
1 parent e78bd71 commit 995022c
Showing 1 changed file with 37 additions and 26 deletions.
63 changes: 37 additions & 26 deletions tools/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,65 +10,68 @@ The version strings may be invalid maven identifiers, as they are currently pull
- [Fabric dependency helper](https://fabricmc.net/develop/)
- [Quilt dependency helper](https://lambdaurora.dev/tools/import_quilt.html)

{% capture groovy %}
`gradle.properties`:
```properties
# Blabber
blabber_version = <BLABBER_VERSION>
# Cardinal Components
cca_version = <CCA_VERSION>
# Cloth Config API
cloth_config_version = <CLOTH_VERSION>
# EMI
emi = "<EMI_VERSION>"
# Mod Menu
modmenu = "<MODMENU_VERSION>"
# Roughly Enough Items
rei = "<REI_VERSION>"
```
{% endcapture %}
{% capture kts %}
`gradle.properties`:
```properties
# Blabber
# Blabber (dialogues)
blabber_version = <BLABBER_VERSION>
# Cardinal Components
# Cardinal Components API
cca_version = <CCA_VERSION>
# Cloth Config API
# Cloth Config API (config screen)
cloth_config_version = <CLOTH_VERSION>
# EMI
emi = "<EMI_VERSION>"
emi_version = <EMI_VERSION>
# Iris (shaders mod)
iris_version = <IRIS_VERSION>
# Midnight Lib (config)
midnight_version = <MIDNIGHT_VERSION>
# Mod Menu
modmenu = "<MODMENU_VERSION>"
modmenu_version = <MODMENU_VERSION>
# Roughly Enough Items
rei = "<REI_VERSION>"
rei_version = <REI_VERSION>
# Satin (shaders)
satin_version = <SATIN_VERSION>
# Sodium (rendering optimizations)
sodium_version = <SODIUM_VERSION>
```
{% endcapture %}
{% capture catalogue %}
`libs.versions.toml`:
```toml
[versions]
# Blabber
# Blabber (dialogues)
blabber = "<BLABBER_VERSION>"
# Cardinal Components API
cca = "<CCA_VERSION>"
# Cloth Config API
# Cloth Config API (config screen)
clothConfig = "<CLOTH_VERSION>"
# EMI
emi = "<EMI_VERSION>"
# Iris (shaders mod)
iris = "<IRIS_VERSION>"
# Midnight Lib (config)
midnightLib = "<MIDNIGHT_VERSION>"
# Mod Menu
modmenu = "<MODMENU_VERSION>"
# Roughly Enough Items
rei = "<REI_VERSION>"
# Satin (shaders library)
satin = "<SATIN_VERSION>"
# Sodium (rendering optimizations)
sodium = "<SODIUM_VERSION>"

[libraries]
blabber = { module = "org.ladysnake:blabber", version.ref = "blabber" }
cca-base = { module = "dev.onyxstudios.cardinal-components-api:cardinal-components-base", version.ref = "cca" }
cca-entity = { module = "dev.onyxstudios.cardinal-components-api:cardinal-components-entity", version.ref = "cca" }
clothConfig = { module = "me.shedaniel.cloth:cloth-config-fabric", version.ref = "clothConfig"}
emi = { module = "dev.emi:emi-fabric", version.ref = "emi" }
iris = { module = "maven.modrinth:iris", version.ref = "iris" }
midnightLib = { module = "maven.modrinth:midnightlib", version.ref = "midnightLib" }
modmenu = { module = "com.terraformersmc:modmenu", version.ref = "modmenu"}
rei-api = { module = "me.shedaniel:RoughlyEnoughItems-api-fabric", version.ref = "rei" }
satin = { module = "org.ladysnake:satin", version.ref = "satin" }
sodium = { module = "maven.modrinth:sodium", version.ref = "sodium" }
```
{% endcapture %}
{%- assign blabber = "blabber:2oRMVFgd" | split: ":" %}
Expand All @@ -79,8 +82,16 @@ rei-api = { module = "me.shedaniel:RoughlyEnoughItems-api-fabric", version.ref =
{%- assign mods = mods | push: cloth %}
{%- assign emi = "emi:fRiHVvU7" | split: ":" %}
{%- assign mods = mods | push: emi %}
{%- assign iris = "iris:YL57xq9U" | split: ":" %}
{%- assign mods = mods | push: iris %}
{%- assign midnight = "midnight:codAaoxh" | split: ":" %}
{%- assign mods = mods | push: midnight %}
{%- assign modmenu = "modmenu:mOgUt4GM" | split: ":" %}
{%- assign mods = mods | push: modmenu %}
{%- assign rei = "rei:nfn13YXA" | split: ":" %}
{%- assign mods = mods | push: rei %}
{%- include tabbed_builscript.liquid mods=mods groovy=groovy kts=kts catalogue=catalogue %}
{%- assign satin = "satin:fRbqPLg4" | split: ":" %}
{%- assign mods = mods | push: satin %}
{%- assign sodium = "sodium:AANobbMI" | split: ":" %}
{%- assign mods = mods | push: sodium %}
{%- include tabbed_builscript.liquid mods=mods groovy=kts kts=kts catalogue=catalogue %}

0 comments on commit 995022c

Please sign in to comment.