@@ -56,7 +56,8 @@ dependencies {
5656 implementation(project(" :HMCLCore" ))
5757 implementation(project(" :HMCLBoot" ))
5858 implementation(" libs:JFoenix" )
59- implementation(libs.twelvemonkeys.imageio.webp)
59+ implementation(libs.jwebp)
60+ implementation(libs.fxsvgimage)
6061 implementation(libs.java.info)
6162 implementation(libs.monet.fx)
6263 implementation(libs.nayuki.qrcodegen)
@@ -66,6 +67,7 @@ dependencies {
6667 }
6768
6869 embedResources(libs.authlib.injector)
70+ embedResources(libs.lwjgl.unsafe.agent)
6971}
7072
7173fun digest (algorithm : String , bytes : ByteArray ): ByteArray = MessageDigest .getInstance(algorithm).digest(bytes)
@@ -155,6 +157,7 @@ val hmclProperties = buildList {
155157 add(" hmcl.microsoft.auth.id" to microsoftAuthId)
156158 add(" hmcl.curseforge.apikey" to curseForgeApiKey)
157159 add(" hmcl.authlib-injector.version" to libs.authlib.injector.get().version!! )
160+ add(" hmcl.lwjgl-unsafe-agent.version" to libs.lwjgl.unsafe.agent.get().version!! )
158161}
159162
160163val hmclPropertiesFile = layout.buildDirectory.file(" hmcl.properties" )
@@ -192,7 +195,7 @@ tasks.shadowJar {
192195 exclude(" META-INF/services/javax.imageio.spi.ImageInputStreamSpi" )
193196
194197 listOf (
195- " aix-*" , " sunos-*" , " openbsd-*" , " dragonflybsd-*" , " freebsd-*" , " linux-*" , " darwin-* " ,
198+ " aix-*" , " sunos-*" , " openbsd-*" , " dragonflybsd-*" , " freebsd-*" , " linux-*" ,
196199 " *-ppc" , " *-ppc64le" , " *-s390x" , " *-armel" ,
197200 ).forEach { exclude(" com/sun/jna/$it /**" ) }
198201
0 commit comments