pull/1145/head
gedoor 3 years ago
parent bfb9afbe6c
commit 95d7b3c441
  1. 7
      app/build.gradle
  2. 2
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt

@ -35,9 +35,7 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
project.ext.set("archivesBaseName", name + "_" + version)
multiDexEnabled true
ndk {
abiFilters 'arm64-v8a'
}
javaCompileOptions {
annotationProcessorOptions {
arguments += [
@ -91,6 +89,9 @@ android {
dimension "mode"
applicationId "io.legado.cronet"
manifestPlaceholders = [APP_CHANNEL_VALUE: "cronet"]
ndk {
abiFilters 'arm64-v8a'
}
}
}
compileOptions {

@ -431,7 +431,7 @@ class AnalyzeRule(val ruleData: RuleDataInterface) : JsExtensions {
mode = Mode.Json
ruleStr.substring(6)
}
(ruleStr[1] == '.' || ruleStr[1] == '[') && ruleStr.startsWith("$.") || isJSON -> {
ruleStr.startsWith("$.") || isJSON -> {
mode = Mode.Json
ruleStr
}

Loading…
Cancel
Save