mirror of
https://github.com/xiaozhou233/OrangeX-Client.git
synced 2026-12-05 21:15:53 +08:00
fix: add Main-Class manifest to Injector shadowJar
This commit is contained in:
1 parent
00f3972d1d
commit
7b868dd656
1 file changed
+6
@@ -14,6 +14,12 @@ dependencies {
|
||||
implementation files("libraries/JuiceAgent-JavaInjector-1.0-SNAPSHOT.jar")
|
||||
}
|
||||
|
||||
jar {
|
||||
manifest {
|
||||
attributes 'Main-Class': 'cn.xiaozhou233.orangex.injector.Main'
|
||||
}
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
archiveFileName = 'Injector.jar'
|
||||
destinationDirectory = rootProject.layout.projectDirectory.dir('out')
|
||||
|
||||
Reference in new issue
Block a user