Skip to content

Commit

Permalink
Removed liquidcore JS engine
Browse files Browse the repository at this point in the history
  • Loading branch information
Waboodoo committed Jan 5, 2025
1 parent 348cf8c commit 6889eed
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 285 deletions.
8 changes: 7 additions & 1 deletion HTTPShortcuts/app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
-keep class org.liquidplayer.javascript.** { *; }
-dontwarn ch.rmy.android.scripting.JsFunction
-dontwarn ch.rmy.android.scripting.JsFunctionArgs
-dontwarn ch.rmy.android.scripting.JsObject
-dontwarn ch.rmy.android.scripting.JsObjectBuilder
-dontwarn ch.rmy.android.scripting.ScriptingEngine
-dontwarn ch.rmy.android.scripting.ScriptingEngineFactory
-dontwarn ch.rmy.android.scripting.ScriptingException
-keep class ch.rmy.android.http_shortcuts.data.models.** { *; }
-keep class ch.rmy.android.http_shortcuts.activities.contact.MetaData { *; }
-keep class ch.rmy.android.http_shortcuts.activities.execute.models.ExecutionParams { *; }
Expand Down
11 changes: 10 additions & 1 deletion HTTPShortcuts/scripting/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,18 @@ android {
}

buildTypes {
/* Used for F-Droid */
release {
isMinifyEnabled = true
ndk.debugSymbolLevel = "SYMBOL_TABLE"
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}

/* Used for Play Store & GitHub release page */
create("releaseFull") {
isMinifyEnabled = true
ndk.debugSymbolLevel = "SYMBOL_TABLE"

proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}
Expand All @@ -30,7 +40,6 @@ android {
}

dependencies {
implementation(files("libs/LiquidCore-0.6.2.aar"))
implementation(libs.quickJsWrapper)

implementation(libs.androidx.core)
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 6889eed

Please sign in to comment.