diff --git a/app/build.gradle b/app/build.gradle index 7f592732..f2a692ad 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -84,8 +84,13 @@ dependencies { implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1" - implementation 'io.ktor:ktor-server-core:2.3.4' - implementation 'io.ktor:ktor-server-cio:2.3.4' + implementation('io.ktor:ktor-server-core:2.3.4') { + exclude group : "org.slf4j", module : "slf4j-api" + + } + implementation('io.ktor:ktor-server-cio:2.3.4') { + exclude group : "org.slf4j", module : "slf4j-api" + } implementation 'io.ktor:ktor-server-call-logging:2.3.4' implementation("ch.qos.logback:logback-classic:1.2.6") diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 46b227a5..3642354c 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -70,7 +70,7 @@ -dontwarn reactor.blockhound.integration.BlockHoundIntegration # Ktor Server --keep class io.ktor.server.netty.EngineMain { *; } + -keep class io.ktor.server.config.HoconConfigLoader { *; } # Logback (Custom rules, see https://github.com/krschultz/android-proguard-snippets/blob/master/libraries/proguard-logback-android.pro) diff --git a/jar/custom_spider.jar b/jar/custom_spider.jar index ce188c95..fdd6f012 100644 Binary files a/jar/custom_spider.jar and b/jar/custom_spider.jar differ diff --git a/jar/custom_spider.jar.md5 b/jar/custom_spider.jar.md5 index 4a14d53b..001a1195 100644 --- a/jar/custom_spider.jar.md5 +++ b/jar/custom_spider.jar.md5 @@ -1 +1 @@ -f439c33b829843211e2456803623cfc2 +96a7cb9b87ece2ef9276d43c5848c47a diff --git a/json/test.json b/json/test.json index 815b9f79..d2c3e735 100644 --- a/json/test.json +++ b/json/test.json @@ -1,5 +1,5 @@ { - "spider": "https://ghproxy.net/https://raw.githubusercontent.com/lushunming/AndroidCatVodSpider/multiThreadNew/jar/custom_spider.jar;md5;f439c33b829843211e2456803623cfc2", + "spider": "https://ghproxy.net/https://raw.githubusercontent.com/lushunming/AndroidCatVodSpider/multiThreadNew/jar/custom_spider.jar;md5;96a7cb9b87ece2ef9276d43c5848c47a", "lives": [ { "name": "电视直播",