mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-08-04 03:46:57 -04:00
Fix #1147: shadowJar minimize exclude JFoenix
This commit is contained in:
parent
f67c3d5284
commit
aab6f68492
@ -45,7 +45,7 @@ mainClassName = 'org.jackhuang.hmcl.Main'
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation project(":HMCLCore")
|
implementation project(":HMCLCore")
|
||||||
implementation rootProject.files("lib/JFoenix.jar")
|
implementation 'libs:JFoenix'
|
||||||
|
|
||||||
implementation group: 'de.javawi.jstun', name: 'jstun', version: '0.7.4'
|
implementation group: 'de.javawi.jstun', name: 'jstun', version: '0.7.4'
|
||||||
}
|
}
|
||||||
@ -128,6 +128,7 @@ shadowJar {
|
|||||||
minimize {
|
minimize {
|
||||||
exclude(dependency('com.google.code.gson:.*:.*'))
|
exclude(dependency('com.google.code.gson:.*:.*'))
|
||||||
exclude(dependency('com.github.steveice10:.*:.*'))
|
exclude(dependency('com.github.steveice10:.*:.*'))
|
||||||
|
exclude(dependency('libs:JFoenix:.*'))
|
||||||
exclude(project(":HMCLTransformerDiscoveryService"))
|
exclude(project(":HMCLTransformerDiscoveryService"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,6 +22,8 @@ subprojects {
|
|||||||
apply plugin: 'checkstyle'
|
apply plugin: 'checkstyle'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
flatDir name: 'libs', dirs: rootProject.file('lib')
|
||||||
|
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|
||||||
maven { url 'https://jitpack.io' }
|
maven { url 'https://jitpack.io' }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user