mirror of
https://github.com/gedoor/legado.git
synced 2024-07-04 23:36:56 +08:00
Merge pull request #3802 from gedoor/dependabot/gradle/org.jsoup-jsoup-1.17.2
- Bump org.jsoup:jsoup from 1.16.2 to 1.17.2 - Add missing proguard rules - Fix org/jsoup/nodes/Element Non Null
This commit is contained in:
commit
0abdaa0310
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
|
@ -120,7 +120,8 @@ jobs:
|
|||
|
||||
- name: Check Build production
|
||||
run: |
|
||||
if [ ! -e "${{ github.workspace }}/apk/legado_*.apk" ]; then
|
||||
cd ${{ github.workspace }}/apk/
|
||||
if [ ! -e legado_*.apk ]; then
|
||||
echo "Build production not found! Check gradle logs."
|
||||
exit 1
|
||||
fi
|
||||
|
|
4
app/proguard-rules.pro
vendored
4
app/proguard-rules.pro
vendored
|
@ -403,6 +403,10 @@
|
|||
-dontwarn org.chromium.base.FeatureList
|
||||
-dontwarn org.chromium.base.FeatureMap
|
||||
|
||||
# Please add these rules to your existing keep rules in order to suppress warnings.
|
||||
# This is generated automatically by the Android Gradle plugin.
|
||||
-dontwarn org.jspecify.annotations.NullMarked
|
||||
|
||||
#-------------------Cronet------------------------------------
|
||||
|
||||
# Class.forName调用
|
||||
|
|
|
@ -375,11 +375,12 @@ class AnalyzeByJSoup(doc: Any) {
|
|||
* 根据索引集合筛选元素
|
||||
* */
|
||||
if (split == '!') { //排除
|
||||
|
||||
/*
|
||||
for (pcInt in indexSet) elements[pcInt] = null
|
||||
|
||||
elements.removeAll(nullSet) //测试过,这样就行
|
||||
|
||||
*/
|
||||
for (pcInt in indexSet) elements[pcInt].remove()
|
||||
} else if (split == '.') { //选择
|
||||
|
||||
val es = Elements()
|
||||
|
|
|
@ -20,7 +20,7 @@ lifecycle = "2.7.0"
|
|||
glide = "4.16.0"
|
||||
gson = "2.10.1"
|
||||
jsonPath = "2.9.0"
|
||||
jsoup = "1.16.2"
|
||||
jsoup = "1.17.2"
|
||||
jsoupxpath = "2.5.3"
|
||||
coroutines = "1.8.0"
|
||||
liveeventbus = "1.8.14"
|
||||
|
|
Loading…
Reference in New Issue
Block a user