aboutsummaryrefslogtreecommitdiff
path: root/app/build.gradle.kts
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-08-05 02:11:31 +0530
committerGitHub <noreply@github.com>2021-08-05 02:11:31 +0530
commit6004addf629239c95a03763b8122f7d855104999 (patch)
treeef7750e34dded13657618c32f64f17895257d1a8 /app/build.gradle.kts
parent1071e0e7498ca4c1d82cb655e5e59040ea1beb04 (diff)
Upgrade Compose and other AndroidX libraries (#1477)
* app: re-enable Compose * app: remove inapplicable lint suppression * gradle: bump AndroidX dependencies
Diffstat (limited to 'app/build.gradle.kts')
-rw-r--r--app/build.gradle.kts27
1 files changed, 10 insertions, 17 deletions
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index adb2fcbc..4ae3136e 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -14,7 +14,6 @@ plugins {
`crowdin-plugin`
}
-/*
repositories {
val composeSnapshot = libs.versions.composeSnapshot.get()
if (composeSnapshot.length > 1) {
@@ -30,7 +29,6 @@ repositories {
}
}
}
-*/
configure<CrowdinExtension> { projectName = "android-password-store" }
@@ -49,21 +47,16 @@ android {
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
- // buildFeatures.compose = true
+ buildFeatures.compose = true
lintOptions {
isAbortOnError = true
isCheckReleaseBuilds = false
disable("MissingTranslation", "PluralsCandidate", "ImpliedQuantity")
- // https://issuetracker.google.com/issues/187524311
- disable("DialogFragmentCallbacksDetector")
disable("CoroutineCreationDuringComposition")
}
- // composeOptions {
- // kotlinCompilerVersion = libs.versions.kotlin.get()
- // kotlinCompilerExtensionVersion = libs.versions.compose.get()
- // }
+ composeOptions { kotlinCompilerExtensionVersion = libs.versions.compose.get() }
}
dependencies {
@@ -94,14 +87,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)