mirror of
https://github.com/xiaozhou233/OrangeX-Client.git
synced 2026-12-05 21:15:53 +08:00
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
29 lines
737 B
Groovy
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'
|
|
} |