Working 1.21.4 saturn client (but old structure still)
This commit is contained in:
@@ -11,11 +11,7 @@ base {
|
|||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
// Add repositories to retrieve artifacts from in here.
|
maven { name = "KoSmX Maven"; url = 'https://maven.kosmx.dev/' }
|
||||||
// You should only use this when depending on other mods because
|
|
||||||
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
|
|
||||||
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
|
|
||||||
// for more information about repositories.
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
@@ -27,14 +23,36 @@ dependencies {
|
|||||||
// Fabric API. This is technically optional, but you probably want it anyway.
|
// Fabric API. This is technically optional, but you probably want it anyway.
|
||||||
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}"
|
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}"
|
||||||
|
|
||||||
|
// Player Animation Library
|
||||||
|
include modImplementation(
|
||||||
|
"dev.kosmx.player-anim:player-animation-lib-fabric:${project.player_anim}"
|
||||||
|
)
|
||||||
|
|
||||||
|
// Optional: BendyLib
|
||||||
|
// include modRuntimeOnly(
|
||||||
|
// "io.github.kosmx.bendy-lib:bendy-lib-fabric:${project.bendylib_version}"
|
||||||
|
// )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ================================================================
|
||||||
|
* Resource Processing
|
||||||
|
* ================================================================
|
||||||
|
* Injects version values into fabric.mod.json.
|
||||||
|
*/
|
||||||
processResources {
|
processResources {
|
||||||
inputs.property "version", project.version
|
inputs.property "version", project.version
|
||||||
|
inputs.property "minecraft_version", project.minecraft_version
|
||||||
|
inputs.property "loader_version", project.loader_version
|
||||||
|
filteringCharset "UTF-8"
|
||||||
|
|
||||||
filesMatching("fabric.mod.json") {
|
filesMatching("fabric.mod.json") {
|
||||||
expand "version": inputs.properties.version
|
expand(
|
||||||
}
|
"version": project.version,
|
||||||
|
"minecraft_version": project.minecraft_version,
|
||||||
|
"loader_version": project.loader_version
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(JavaCompile).configureEach {
|
tasks.withType(JavaCompile).configureEach {
|
||||||
|
|||||||
@@ -18,4 +18,6 @@ maven_group=org.saturnclient
|
|||||||
archives_base_name=saturn-client
|
archives_base_name=saturn-client
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
fabric_api_version=0.119.4+1.21.4
|
fabric_api_version=0.119.4+1.21.4
|
||||||
|
|
||||||
|
player_anim = 2.0.3+1.21.4
|
||||||
|
|||||||
Reference in New Issue
Block a user