mirror of
https://github.com/xiaozhou233/OrangeX-Client.git
synced 2026-12-05 13:05:52 +08:00
- Add root packageAll task aggregating Loader and OrangeX shadow jars - Add cleanOut task so stale artifacts are removed before packaging - Output fixed-name Loader.jar and OrangeX.jar into out/tmp - Switch OrangeX Lombok to compileOnly so it is not shaded
24 lines
453 B
Groovy
24 lines
453 B
Groovy
plugins {
|
|
id 'java'
|
|
id("com.gradleup.shadow") version "8.3.11"
|
|
}
|
|
|
|
group = 'cn.xiaozhou233.orangex.injector'
|
|
version = 'unspecified'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation files("../libraries/JuiceAgent-API-1.4.1+build.1.jar")
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
tasks.named('shadowJar') {
|
|
destinationDirectory = rootProject.layout.projectDirectory.dir('out/tmp')
|
|
archiveFileName = "${project.name}.jar"
|
|
} |