diff --git a/HMCL/build.gradle b/HMCL/build.gradle index 63de89151..6b00f2b2f 100644 --- a/HMCL/build.gradle +++ b/HMCL/build.gradle @@ -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")) } diff --git a/build.gradle b/build.gradle index 98e6605de..71b121204 100644 --- a/build.gradle +++ b/build.gradle @@ -22,6 +22,8 @@ subprojects { apply plugin: 'checkstyle' repositories { + flatDir name: 'libs', dirs: rootProject.file('lib') + mavenCentral() maven { url 'https://jitpack.io' }