Fix #1147: shadowJar minimize exclude JFoenix

This commit is contained in:
Glavo
2021-10-31 12:54:38 +08:00
committed by Yuhui Huang
parent f67c3d5284
commit aab6f68492
2 changed files with 4 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ mainClassName = 'org.jackhuang.hmcl.Main'
dependencies {
implementation project(":HMCLCore")
implementation rootProject.files("lib/JFoenix.jar")
implementation 'libs:JFoenix'
implementation group: 'de.javawi.jstun', name: 'jstun', version: '0.7.4'
}
@@ -128,6 +128,7 @@ shadowJar {
minimize {
exclude(dependency('com.google.code.gson:.*:.*'))
exclude(dependency('com.github.steveice10:.*:.*'))
exclude(dependency('libs:JFoenix:.*'))
exclude(project(":HMCLTransformerDiscoveryService"))
}