개발자 설정 및 빌드 (26.1.2)
| 개발 환경 요건 | 사양 |
|---|---|
| Java Development Kit (JDK) | JDK 25 (Oracle / Eclipse Temurin / Microsoft Build) |
| Gradle Wrapper | Gradle 8.x / 9.x |
| Fabric Loom | 1.15.2 (net.fabricmc.fabric-loom) |
| 대상 마인크래프트 | 26.1.2 |
| DasikLibrary 의존성 | 1.8.28 |
🛠️ 빌드 명령어
하위 프로젝트 디렉터리의 터미널에서 실행:
bash
# Build the production release JAR
./gradlew build --no-daemon
# Run automated tests and GameTests
./gradlew test --no-daemon
# Launch Fabric Client development environment
./gradlew runClient --no-daemon
# Launch Fabric Server development environment
./gradlew runServer --no-daemon📄 종속성 선언 (build.gradle)
groovy
dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
implementation "net.fabricmc:fabric-loader:${project.fabric_loader_version}"
implementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
implementation "net.dasik.social:dasik-library:${project.dasik_library_version}"
compileOnly "me.shedaniel.cloth:cloth-config-fabric:26.1.154"
runtimeOnly "me.shedaniel.cloth:cloth-config-fabric:26.1.154"
compileOnly "com.terraformersmc:modmenu:18.0.0-beta.1"
runtimeOnly "com.terraformersmc:modmenu:18.0.0-beta.1"
}