mirror of
https://github.com/xiaozhou233/OrangeX-Client.git
synced 2026-12-05 21:15:53 +08:00
- Add Injector module, built to out/injector.jar - Add packageAll chain producing out/injection.zip from out/tmp - Copy resources and natives into out/tmp with a flat layout
32 lines
606 B
Groovy
32 lines
606 B
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
group = 'cn.xiaozhou233.orangex.injector'
|
|
version = 'unspecified'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation platform('org.junit:junit-bom:5.10.0')
|
|
testImplementation 'org.junit.jupiter:junit-jupiter'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
tasks.named('jar') {
|
|
destinationDirectory = rootProject.layout.projectDirectory.dir('out')
|
|
archiveFileName = 'injector.jar'
|
|
manifest {
|
|
attributes 'Main-Class': 'cn.xiaozhou233.orangex.injector.Main'
|
|
}
|
|
}
|
|
|
|
tasks.withType(JavaCompile).configureEach {
|
|
options.encoding = 'UTF-8'
|
|
}
|