From fd8f746a22d285026fcabe86e70662be70948282 Mon Sep 17 00:00:00 2001 From: androidacy-user Date: Tue, 2 May 2023 17:01:14 -0400 Subject: [PATCH] update deps + release v2.0.2 Signed-off-by: androidacy-user --- app/build.gradle.kts | 20 +++++++++---------- .../java/com/fox2code/mmm/repo/RepoData.java | 2 +- build.gradle.kts | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index d076db6..de30d22 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -38,8 +38,8 @@ android { applicationId = "com.fox2code.mmm" minSdk = 24 targetSdk = 33 - versionCode = 68 - versionName = "2.0.1" + versionCode = 70 + versionName = "2.0.2" vectorDrawables { useSupportLibrary = true } @@ -330,7 +330,7 @@ sentry { autoInstallation { enabled.set(true) - sentryVersion.set("6.17.0") + sentryVersion.set("6.18.1") } includeDependenciesReport.set(true) @@ -414,7 +414,7 @@ dependencies { // implementation("com.google.protobuf:protobuf-javalite:3.22.2") // google guava, maybe fix a bug - implementation("com.google.guava:guava:31.1-android") + implementation("com.google.guava:guava:31.1-jre") val libsuVersion = "5.0.5" @@ -431,12 +431,12 @@ dependencies { implementation("com.github.Fox2Code:AndroidANSI:1.0.1") // sentry - implementation("io.sentry:sentry-android:6.17.0") - implementation("io.sentry:sentry-android-timber:6.17.0") - implementation("io.sentry:sentry-android-fragment:6.17.0") - implementation("io.sentry:sentry-android-okhttp:6.17.0") - implementation("io.sentry:sentry-kotlin-extensions:6.17.0") - implementation("io.sentry:sentry-android-ndk:6.17.0") + implementation("io.sentry:sentry-android:6.18.1") + implementation("io.sentry:sentry-android-timber:6.18.1") + implementation("io.sentry:sentry-android-fragment:6.18.1") + implementation("io.sentry:sentry-android-okhttp:6.18.1") + implementation("io.sentry:sentry-kotlin-extensions:6.18.1") + implementation("io.sentry:sentry-android-ndk:6.18.1") // Markdown // TODO: switch to an updated implementation diff --git a/app/src/main/java/com/fox2code/mmm/repo/RepoData.java b/app/src/main/java/com/fox2code/mmm/repo/RepoData.java index e837a86..a7f1ca7 100644 --- a/app/src/main/java/com/fox2code/mmm/repo/RepoData.java +++ b/app/src/main/java/com/fox2code/mmm/repo/RepoData.java @@ -410,7 +410,7 @@ public class RepoData extends XRepo { long diffMinutes = diff / (60 * 1000) % 60; Timber.d("Repo " + this.id + " updated: " + diffMinutes + " minutes ago"); realm.close(); - return diffMinutes > (BuildConfig.DEBUG ? 15 : 20); + return diffMinutes > (BuildConfig.DEBUG ? 15 : 30); } else { Timber.d("Repo " + this.id + " should update could not find repo in database"); Timber.d("This is probably an error, please report this to the developer"); diff --git a/build.gradle.kts b/build.gradle.kts index eb4e76a..7a4a50d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -11,7 +11,7 @@ buildscript { extra.apply { set("sentryConfigFile", rootProject.file("sentry.properties")) set("hasSentryConfig", false) - set("sentryVersion", "6.17.0") + set("sentryVersion", "6.18.1") } dependencies { classpath("com.android.tools.build:gradle:8.0.0")