Skip to content

Gradle settings (English)

GRAINALCOHOL edited this page Feb 21, 2026 · 5 revisions

Language: | > English < | 简体中文 |

To develop with Depression-Tiantian, you need to configure your build.gradle as follows.

In the repositories block:

// modrinth maven
maven {
    name = "Modrinth"
    url = "https://api.modrinth.com/maven"
}
// architectury maven
maven { url "https://maven.architectury.dev/" }

In the dependencies block:

// Architectury API
modImplementation "dev.architectury:architectury-fabric:${project.architectury_api_version}"

// Depression and its required dependencies
modImplementation "maven.modrinth:depression:${project.depression_version}"
modImplementation "com.electronwill.night-config:core:3.6.0"
modImplementation "com.electronwill.night-config:toml:3.6.0"

// Depression-Tiantian
// --WIP--

Note: This mod requires Depression version 0.2.2+1.20.1 or higher.

Add the corresponding dependency versions in your gradle.properties, for example:

architectury_api_version=9.2.14
depression_version=0.2.2+1.20.1

After configuration, run the rebuild command.

Clone this wiki locally