summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-07-15 12:14:05 +0530
committerGitHub <noreply@github.com>2021-07-15 06:44:05 +0000
commitfd6d0e52fc378eefd3de35bc9e7778897ccc396f (patch)
tree480f7a20c7ad7c6b6b7a611f94a372841f4e55a1
parent6e4ffe290265ef8b3cd82f5ab6a7eb8c0157bf6a (diff)
Upgrade dependencies and temporarily disable Compose (#1457)
-rw-r--r--app/build.gradle.kts20
-rw-r--r--buildSrc/build.gradle.kts2
-rw-r--r--gradle/libs.versions.toml14
3 files changed, 19 insertions, 17 deletions
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index a5716989..887d26aa 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -14,6 +14,7 @@ plugins {
`crowdin-plugin`
}
+/*
repositories {
val composeSnapshot = libs.versions.composeSnapshot.get()
if (composeSnapshot.length > 1) {
@@ -29,6 +30,7 @@ repositories {
}
}
}
+*/
configure<CrowdinExtension> { projectName = "android-password-store" }
@@ -47,7 +49,7 @@ android {
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
- buildFeatures.compose = true
+ // buildFeatures.compose = true
lintOptions {
isAbortOnError = true
@@ -99,14 +101,14 @@ dependencies {
implementation(libs.kotlin.coroutines.android)
implementation(libs.kotlin.coroutines.core)
- implementation(libs.androidx.activity.compose)
- implementation(libs.androidx.hilt.compose)
- implementation(libs.compose.foundation.core)
- implementation(libs.compose.foundation.layout)
- implementation(libs.compose.material)
- implementation(libs.compose.ui.core)
- implementation(libs.compose.ui.viewbinding)
- compileOnly(libs.compose.ui.tooling)
+ // implementation(libs.androidx.activity.compose)
+ // implementation(libs.androidx.hilt.compose)
+ // implementation(libs.compose.foundation.core)
+ // implementation(libs.compose.foundation.layout)
+ // implementation(libs.compose.material)
+ // implementation(libs.compose.ui.core)
+ // implementation(libs.compose.ui.viewbinding)
+ // compileOnly(libs.compose.ui.tooling)
implementation(libs.aps.sublimeFuzzy)
implementation(libs.aps.zxingAndroidEmbedded)
diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts
index 518e2c89..fbffc105 100644
--- a/buildSrc/build.gradle.kts
+++ b/buildSrc/build.gradle.kts
@@ -49,6 +49,6 @@ dependencies {
implementation("com.vdurmont:semver4j:3.1.0")
implementation("de.undercouch:gradle-download-task:4.1.1")
implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.4.32")
- implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.10")
+ implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21")
implementation("org.jetbrains.kotlinx:binary-compatibility-validator:0.5.0")
}
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 77ae2d0a..a7113546 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -1,12 +1,12 @@
# Centralized versions for dependencies that share versions
[versions]
-androidx_activity = "1.3.0-rc01"
+androidx_activity = "1.3.0-rc02"
androidx_test = "1.4.0"
-compose = "1.0.0-rc01"
+compose = "1.0.0-rc02"
composeSnapshot = "-"
-coroutines = "1.5.0"
+coroutines = "1.5.1"
hilt = "2.37"
-kotlin = "1.5.10"
+kotlin = "1.5.21"
lifecycle = "2.4.0-alpha02"
[libraries]
@@ -42,7 +42,7 @@ androidx-lifecycle-common = { module = "androidx.lifecycle:lifecycle-common-java
androidx-lifecycle-livedataKtx = { module = "androidx.lifecycle:lifecycle-livedata-ktx", version.ref="lifecycle" }
androidx-lifecycle-viewmodelKtx = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref="lifecycle" }
androidx-lifecycle-viewmodel-compose = "androidx.lifecycle:lifecycle-viewmodel-compose:1.0.0-alpha05"
-androidx-material = "com.google.android.material:material:1.4.0"
+androidx-material = "com.google.android.material:material:1.5.0-alpha01"
androidx-preference = "androidx.preference:preference:1.1.1"
androidx-recyclerview = "androidx.recyclerview:recyclerview:1.2.1"
androidx-recyclerviewSelection = "androidx.recyclerview:recyclerview-selection:1.2.0-alpha01"
@@ -90,13 +90,13 @@ thirdparty-sshj = "com.hierynomus:sshj:0.31.0"
thirdparty-sshauth = "com.github.open-keychain.open-keychain:sshauthentication-api:5.7.5"
thirdparty-timber = "com.jakewharton.timber:timber:4.7.1"
thirdparty-timberkt = "com.github.ajalt:timberkt:1.5.1"
-thirdparty-whatthestack = "com.github.haroldadmin:WhatTheStack:0.3.0"
+thirdparty-whatthestack = "com.github.haroldadmin:WhatTheStack:0.3.1"
thirdparty-nonfree-googlePlayAuthApiPhone = "com.google.android.gms:play-services-auth-api-phone:17.5.1"
# Testing dependencies
testing-junit = "junit:junit:4.13.2"
testing-kotlintest-junit = { module = "org.jetbrains.kotlin:kotlin-test-junit", version.ref = "kotlin" }
-testing-robolectric = "org.robolectric:robolectric:4.6"
+testing-robolectric = "org.robolectric:robolectric:4.6.1"
testing-sharedPrefsMock = "com.github.IvanShafran:shared-preferences-mock:1.0"
androidx-testing-rules = { module = "androidx.test:rules", version.ref="androidx_test" }
androidx-testing-runner = { module = "androidx.test:runner", version.ref="androidx_test" }