Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,10 @@ dependencies {

fun modDependency(
id: String,
artifactGetter: (String) -> String,
artifactGetter: (String) -> Any,
requiredByDependants: Boolean = false,
supportsRuntime: Boolean = true,
extra: (Boolean) -> Unit = {}
extra: (runtime: Boolean) -> Unit = {}
) {
prop("deps.$id") { modVersion ->
val noRuntime = prop("deps.$id.noRuntime") { it.toBoolean() } == true
Expand All @@ -195,13 +195,15 @@ dependencies {
}

if (isFabric) {
modDependency("fabricApi", { "net.fabricmc.fabric-api:fabric-api:$it" }, requiredByDependants = true)
modDependency("fabricApi", { platform("net.fabricmc.fabric-api:fabric-api-bom:$it") }, requiredByDependants = true) {
modstitchModApi("net.fabricmc.fabric-api:fabric-resource-loader-v0") //v1 in new commit but not updated here
}

modDependency("fabricLangKotlin", { "net.fabricmc:fabric-language-kotlin:${it}" })
}
if (isNeoforge) {
//modstitchModRuntimeOnly("thedarkcolour:kotlinforforge-neoforge:${findProperty("deps.kotlinForForge")}")
}
/*if (isNeoforge) {
modstitchModRuntimeOnly("thedarkcolour:kotlinforforge-neoforge:${findProperty("deps.kotlinForForge")}")
}*/

listOf(
"imageio:imageio-core",
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
7 changes: 5 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#Fri Apr 05 20:43:25 CEST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.0-bin.zip
networkTimeout=10000
retries=0
retryBackOffMs=500
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
54 changes: 34 additions & 20 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

63 changes: 28 additions & 35 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/main/templates/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"fabricloader": ">=0.18.0",
"minecraft": "${mc}",
"java": ">=17",
"fabric-api": ">=${fapi}"
"fabric-resource-loader-v0": "*"
},
"entrypoints": {
"client": [
Expand Down
2 changes: 1 addition & 1 deletion versions/1.21.1-fabric/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ modstitch.platform=fabric-loom-remap
mcVersion=1.21.1
parchment.version=2024.11.17

deps.fabricApi=0.104.0+1.21.1
deps.fabricApi=0.116.12+1.21.1

meta.mcDep=~1.21 <1.21.2

Expand Down
2 changes: 1 addition & 1 deletion versions/1.21.11-fabric/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ mcVersion=1.21.11
parchment.version=2025.10.12
parchment.minecraft=1.21.10

deps.fabricApi=0.140.0+1.21.11
deps.fabricApi=0.141.4+1.21.11

meta.mcDep=~1.21.11

Expand Down