Files
OrangeX-Client/OrangeX/build.gradle
T
xiaozhou233 789303c665 Refactor: Move Minecraft runtime detection into OrangeX
Move the full runtime package from Loader to OrangeX (cn.xiaozhou233.orangex.runtime), including loader/version detection, probes and utils.

- OrangeX.start() now detects and stores RuntimeInfo, and prints runtime debug info

- Loader keeps only a self-contained GameClassLoaderResolver for bootstrapping the Minecraft ClassLoader; entry flow is otherwise unchanged

- Move gson dependency to OrangeX with shadow relocation; drop it from Loader
2026-11-04 00:45:58 +08:00

29 lines
737 B
Groovy

plugins {
id 'java'
id("com.gradleup.shadow") version "8.3.11"
}
group = 'cn.xiaozhou233.orangex'
version = 'unspecified'
repositories {
mavenCentral()
}
dependencies {
// Source: https://mvnrepository.com/artifact/org.projectlombok/lombok
compileOnly 'org.projectlombok:lombok:1.18.48'
annotationProcessor 'org.projectlombok:lombok:1.18.48'
// Source: https://mvnrepository.com/artifact/com.google.code.gson/gson
implementation 'com.google.code.gson:gson:2.15.0'
}
tasks.named('shadowJar') {
destinationDirectory = rootProject.layout.projectDirectory.dir('out/tmp')
archiveFileName = "${project.name}.jar"
}
shadowJar {
relocate 'com.google.gson', 'cn.xiaozhou233.orangex.shaded.gson'
}