diff --git a/build.gradle.kts b/build.gradle.kts index af4aac70..602953d6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -14,7 +14,7 @@ buildscript { dependencies { classpath(kotlin("gradle-plugin", kotlinVersion)) classpath("com.android.tools.build:gradle:4.1.0-beta04") - classpath("com.github.ben-manes:gradle-versions-plugin:0.28.0") + classpath("com.github.ben-manes:gradle-versions-plugin:0.29.0") classpath("com.google.firebase:firebase-crashlytics-gradle:2.2.0") classpath("com.google.android.gms:oss-licenses-plugin:0.10.2") classpath("com.google.gms:google-services:4.3.3") diff --git a/mobile/build.gradle.kts b/mobile/build.gradle.kts index fea12405..078885c4 100644 --- a/mobile/build.gradle.kts +++ b/mobile/build.gradle.kts @@ -11,6 +11,7 @@ plugins { android { val javaVersion = JavaVersion.VERSION_1_8 val targetSdk = 29 + buildToolsVersion("30.0.1") compileOptions { isCoreLibraryDesugaringEnabled = true sourceCompatibility = javaVersion diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/util/RootSession.kt b/mobile/src/main/java/be/mygod/vpnhotspot/util/RootSession.kt index 1dd53fde..ccf4233a 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/util/RootSession.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/util/RootSession.kt @@ -71,7 +71,7 @@ class RootSession : AutoCloseable { RootSession() } revertCommands.forEach { shell.submit(it) } - } catch (e: RuntimeException) { // if revert fails, it should fail silently + } catch (e: Exception) { // if revert fails, it should fail silently Timber.d(e) } finally { revertCommands.clear()