diff --git a/build.gradle b/build.gradle index ebbfe6fa..ef98123b 100644 --- a/build.gradle +++ b/build.gradle @@ -36,6 +36,11 @@ ext { // embedBitcodeValue = "bitcode" // for release binaries + /* Java */ + + faviconFinderVersion = "1.0.0" + + /* Android */ androidCompileSdkVersion = 28 diff --git a/ui/BankingUiCommon/build.gradle b/ui/BankingUiCommon/build.gradle index 09acbc32..fbd9d701 100644 --- a/ui/BankingUiCommon/build.gradle +++ b/ui/BankingUiCommon/build.gradle @@ -62,7 +62,7 @@ kotlin { api "net.dankito.text.extraction:text-extractor-common:$textExtractorVersion" api "net.dankito.text.extraction:text-info-extractor:$textInfoExtractorVersion" - implementation "net.dankito.utils:favicon-finder:1.0.0-SNAPSHOT" + implementation "net.dankito.utils:favicon-finder:$faviconFinderVersion" implementation "org.jsoup:jsoup:1.13.1" } diff --git a/ui/BankingUiCommon/src/jvmMain/kotlin/net/dankito/banking/util/BankIconFinder.kt b/ui/BankingUiCommon/src/jvmMain/kotlin/net/dankito/banking/util/BankIconFinder.kt index 4e59f529..275c8418 100644 --- a/ui/BankingUiCommon/src/jvmMain/kotlin/net/dankito/banking/util/BankIconFinder.kt +++ b/ui/BankingUiCommon/src/jvmMain/kotlin/net/dankito/banking/util/BankIconFinder.kt @@ -2,7 +2,7 @@ package net.dankito.banking.util import net.dankito.utils.favicon.FaviconComparator import net.dankito.utils.favicon.FaviconFinder -import net.dankito.utils.web.client.OkHttpWebClient +import net.dankito.utils.favicon.web.UrlConnectionWebClient import org.jsoup.Jsoup import org.jsoup.nodes.Document import org.slf4j.LoggerFactory @@ -30,7 +30,7 @@ open class BankIconFinder : IBankIconFinder { } - protected val webClient = OkHttpWebClient() + protected val webClient = UrlConnectionWebClient() protected val faviconFinder = FaviconFinder(webClient)