Skip to content

Commit 73a98be

Browse files
authored
Add explicit jsoup dependency (#2143)
We use it in both app and library, allows better dependency management, and also when I was testing AGP 9 alpha with built in Kotlin this was needed for it not to fail, so just doing this now to kinda prepare a little for that, even though it's a long ways out since dokka also doesn't fully support it yet and it's still in alpha, not stable yet.
1 parent e1aec1d commit 73a98be

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

app/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ dependencies {
203203
implementation(libs.qrcode.kotlin) // QR Code for PIN Auth on TV
204204

205205
// Extensions & Other Libs
206+
implementation(libs.jsoup) // HTML Parser
206207
implementation(libs.rhino) // Run JavaScript
207208
implementation(libs.quickjs)
208209
implementation(libs.fuzzywuzzy) // Library/Ext Searching with Levenshtein Distance

gradle/libs.versions.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ espressoCore = "3.7.0"
1616
fuzzywuzzy = "1.4.0"
1717
jacksonModuleKotlin = { strictly = "2.13.1" } # Later versions don't support minSdk <26 (Crashes on Android TV's and FireSticks)
1818
json = "20250517"
19+
jsoup = "1.21.2"
1920
junit = "4.13.2"
2021
junitKtx = "1.3.0"
2122
junitVersion = "1.3.0"
@@ -74,6 +75,7 @@ ext-junit = { module = "androidx.test.ext:junit", version.ref = "junitVersion" }
7475
fuzzywuzzy = { module = "me.xdrop:fuzzywuzzy", version.ref = "fuzzywuzzy" }
7576
jackson-module-kotlin = { module = "com.fasterxml.jackson.module:jackson-module-kotlin", version.ref = "jacksonModuleKotlin" }
7677
json = { module = "org.json:json", version.ref = "json" }
78+
jsoup = { module = "org.jsoup:jsoup", version.ref = "jsoup" }
7779
junit = { module = "junit:junit", version.ref = "junit" }
7880
junit-ktx = { module = "androidx.test.ext:junit-ktx", version.ref = "junitKtx" }
7981
juniversalchardet = { module = "com.github.albfernandez:juniversalchardet", version.ref = "juniversalchardet" }

library/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ kotlin {
3737
implementation(libs.jackson.module.kotlin) // JSON Parser
3838
implementation(libs.kotlinx.coroutines.core)
3939
implementation(libs.fuzzywuzzy) // Match Extractors
40+
implementation(libs.jsoup) // HTML Parser
4041
implementation(libs.rhino) // Run JavaScript
4142
implementation(libs.newpipeextractor)
4243
implementation(libs.tmdb.java) // TMDB API v3 Wrapper Made with RetroFit

0 commit comments

Comments
 (0)