Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
injars 依赖 shadowJar 任务
Co-authored-by: AdoptOSS <adoptoss@outlook.com>
  • Loading branch information
Him188 and AdoptOSS committed Mar 28, 2021
commit 7715352ac4c472ce39d41459d399853e849ff6e8
3 changes: 1 addition & 2 deletions mirai-core-all/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,10 @@ configurePublishing("mirai-core-all")
afterEvaluate {
tasks.register<proguard.gradle.ProGuardTask>("proguard") {
group = "mirai"
dependsOn("jar", "shadowJar")

verbose()

injars("build/libs/${project.name}-${project.version}-all.jar")
injars(tasks.getByName<ShadowJar>("shadowJar"))
Comment thread
Him188 marked this conversation as resolved.
Resolved

kotlin.runCatching {
file("build/libs/${project.name}-${project.version}-all-min.jar").delete()
Expand Down