From 324ae3fcfb022730604ab661c5b56510472ae718 Mon Sep 17 00:00:00 2001 From: arkon Date: Wed, 17 Aug 2022 22:23:05 -0400 Subject: [PATCH] Remove Duktape Now that none of the official extensions are using it. --- app/proguard-rules.pro | 1 - gradle/libs.versions.toml | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 02f56e09a..b7ea055e4 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -10,7 +10,6 @@ -keep,allowoptimization class okio.** { public protected *; } -keep,allowoptimization class rx.** { public protected *; } -keep,allowoptimization class org.jsoup.** { public protected *; } --keep,allowoptimization class com.squareup.duktape.** { public protected *; } -keep,allowoptimization class app.cash.quickjs.** { public protected *; } -keep,allowoptimization class uy.kohesive.injekt.** { public protected *; } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 37a57e188..57c60f8fe 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -26,8 +26,6 @@ okio = "com.squareup.okio:okio:3.2.0" conscrypt-android = "org.conscrypt:conscrypt-android:2.5.2" quickjs-android = "app.cash.quickjs:quickjs-android:0.9.2" -# TODO: remove Duktape once all extensions are using QuickJS -duktape-android = "com.squareup.duktape:duktape-android:1.4.0" jsoup = "org.jsoup:jsoup:1.14.3" @@ -96,7 +94,7 @@ junit = "org.junit.jupiter:junit-jupiter:5.9.0" [bundles] reactivex = ["rxandroid", "rxjava", "rxrelay"] okhttp = ["okhttp-core", "okhttp-logging", "okhttp-dnsoverhttps"] -js-engine = ["quickjs-android", "duktape-android"] +js-engine = ["quickjs-android"] sqlite = ["sqlitektx", "sqlite-android"] nucleus = ["nucleus-core", "nucleus-supportv7"] coil = ["coil-core", "coil-gif", "coil-compose"]