diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2021-12-03 00:39:54 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-02 19:09:54 +0000 |
commit | 1ade4eaf645b4272ac25f2aa055c1368acd43da7 (patch) | |
tree | f0ce5c025f6f57b68a1a20e11a212ea69b766372 /dependency-sync/build.gradle.kts | |
parent | 99c7913a489f8c28f7f7568db838f9ffdcaa27f0 (diff) |
Cleanup dependency declarations and upgrade to Kotlin 1.6.0 (#1565)
Diffstat (limited to 'dependency-sync/build.gradle.kts')
-rw-r--r-- | dependency-sync/build.gradle.kts | 77 |
1 files changed, 34 insertions, 43 deletions
diff --git a/dependency-sync/build.gradle.kts b/dependency-sync/build.gradle.kts index 61b14996..4169555a 100644 --- a/dependency-sync/build.gradle.kts +++ b/dependency-sync/build.gradle.kts @@ -6,34 +6,25 @@ plugins { id("com.rickbusarow.gradle-dependency-sync") version "0.11.4" } dependencies { - val androidx_activity = "1.4.0" - val androidx_test = "1.4.1-alpha03" - val compose = "1.1.0-beta02" - val composeSnapshot = "-" - val coroutines = "1.5.2" - val flowbinding = "1.2.0" - val hilt = "2.40.3" - val kotlin = "1.5.31" - val lifecycle = "2.4.0" - + // Build tooling dependencySync("com.android.tools.build:gradle:7.0.3") dependencySync("org.jetbrains.kotlinx:binary-compatibility-validator:0.8.0") - dependencySync("org.jetbrains.dokka:dokka-gradle-plugin:$kotlin") + dependencySync("org.jetbrains.dokka:dokka-gradle-plugin:1.6.0") dependencySync("de.undercouch:gradle-download-task:4.1.2") - dependencySync("com.google.dagger:hilt-android-gradle-plugin:$hilt") - dependencySync("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin") + dependencySync("com.google.dagger:hilt-android-gradle-plugin:2.40.3") + dependencySync("org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.0") dependencySync("com.vanniktech:gradle-maven-publish-plugin:0.18.0") dependencySync("com.squareup.okhttp3:okhttp:4.9.3") dependencySync("com.vdurmont:semver4j:3.1.0") dependencySync("com.diffplug.spotless:spotless-plugin-gradle:6.0.1") // Kotlin dependencies - dependencySync("org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines") - dependencySync("org.jetbrains.kotlinx:kotlinx-coroutines-core$coroutines") + dependencySync("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.0-RC") + dependencySync("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0-RC") // AndroidX dependencies - dependencySync("androidx.activity:activity-ktx:$androidx_activity") - dependencySync("androidx.activity:activity-compose:$androidx_activity") + dependencySync("androidx.activity:activity-ktx:1.4.0") + dependencySync("androidx.activity:activity-compose:1.4.0") dependencySync("androidx.annotation:annotation:1.3.0") dependencySync("androidx.autofill:autofill:1.2.0-beta01") dependencySync("androidx.appcompat:appcompat:1.4.0-rc01") @@ -43,11 +34,11 @@ dependencies { dependencySync("androidx.documentfile:documentfile:1.1.0-alpha01") dependencySync("androidx.fragment:fragment-ktx:1.4.0-rc01") dependencySync("androidx.hilt:hilt-navigation-compose:1.0.0-alpha03") - dependencySync("androidx.lifecycle:lifecycle-common:$lifecycle") - dependencySync("androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle") - dependencySync("androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle") + dependencySync("androidx.lifecycle:lifecycle-common:2.4.0") + dependencySync("androidx.lifecycle:lifecycle-livedata-ktx:2.4.0") + dependencySync("androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0") dependencySync("androidx.lifecycle:lifecycle-viewmodel-compose:1.0.0-alpha07") - dependencySync("com.google.android.material:material:1.5.0-beta01") + dependencySync("com.google.android.material:material:1.6.0-alpha01") dependencySync("androidx.preference:preference:1.2.0-alpha02") dependencySync("androidx.recyclerview:recyclerview:1.3.0-alpha01") dependencySync("androidx.recyclerview:recyclerview-selection:1.2.0-alpha01") @@ -55,23 +46,23 @@ dependencies { dependencySync("androidx.swiperefreshlayout:swiperefreshlayout:1.2.0-alpha01") // Compose dependencies - dependencySync("androidx.compose.animation:animation:$compose") - dependencySync("androidx.compose.compiler:compiler:$compose") - dependencySync("androidx.compose.foundation:foundation:$compose") - dependencySync("androidx.compose.foundation:foundation-layout:$compose") - dependencySync("androidx.compose.material:material:$compose") - dependencySync("androidx.compose.material3:material3:1.0.0-alpha01") - dependencySync("androidx.compose.runtime:runtime:$compose") - dependencySync("androidx.compose.ui:ui:$compose") - dependencySync("androidx.compose.ui:ui-test-junit4:$compose") - dependencySync("androidx.compose.ui:ui-tooling:$compose") - dependencySync("androidx.compose.ui:ui-util:$compose") - dependencySync("androidx.compose.ui:ui-viewbinding:$compose") + dependencySync("androidx.compose.animation:animation:1.1.0-beta04") + dependencySync("androidx.compose.compiler:compiler:1.1.0-beta04") + dependencySync("androidx.compose.foundation:foundation:1.1.0-beta04") + dependencySync("androidx.compose.foundation:foundation-layout:1.1.0-beta04") + dependencySync("androidx.compose.material:material:1.1.0-beta04") + dependencySync("androidx.compose.material3:material3:1.0.0-alpha02") + dependencySync("androidx.compose.runtime:runtime:1.1.0-beta04") + dependencySync("androidx.compose.ui:ui:1.1.0-beta04") + dependencySync("androidx.compose.ui:ui-test-junit4:1.1.0-beta04") + dependencySync("androidx.compose.ui:ui-tooling:1.1.0-beta04") + dependencySync("androidx.compose.ui:ui-util:1.1.0-beta04") + dependencySync("androidx.compose.ui:ui-viewbinding:1.1.0-beta04") // Dagger/Hilt dependencies - dependencySync("com.google.dagger:hilt-android:$hilt") - dependencySync("com.google.dagger:hilt-compiler:$hilt") - dependencySync("com.google.dagger:hilt-core:$hilt") + dependencySync("com.google.dagger:hilt-android:2.40.3") + dependencySync("com.google.dagger:hilt-compiler:2.40.3") + dependencySync("com.google.dagger:hilt-core:2.40.3") // Desugaring dependencySync("com.android.tools:desugar_jdk_libs:1.1.5") @@ -85,7 +76,7 @@ dependencies { dependencySync("commons-codec:commons-codec:1.14") dependencySync("net.i2p.crypto:eddsa:0.3.0") dependencySync("me.zhanghai.android.fastscroll:library:1.1.7") - dependencySync("io.github.reactivecircus.flowbinding:flowbinding-android:$flowbinding") + dependencySync("io.github.reactivecircus.flowbinding:flowbinding-android:1.2.0") dependencySync("org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r") dependencySync("com.michael-bull.kotlin-result:kotlin-result:1.1.13") dependencySync("com.squareup.leakcanary:leakcanary-android:2.7") @@ -100,12 +91,12 @@ dependencies { // Testing dependencies dependencySync("junit:junit:4.13.2") - dependencySync("org.jetbrains.kotlin:kotlin-test-junit") + dependencySync("org.jetbrains.kotlin:kotlin-test-junit:1.6.0") dependencySync("org.robolectric:robolectric:4.7.3") - dependencySync("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2") - dependencySync("org.jetbrains.kotlin:kotlin-test-junit:1.5.31") + dependencySync("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0") + dependencySync("org.jetbrains.kotlin:kotlin-test-junit:1.6.0") dependencySync("com.github.android-password-store:shared-preferences-fake:2.0.0") - dependencySync("androidx.test:rules:$androidx_test") - dependencySync("androidx.test:runner:$androidx_test") - dependencySync("org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines") + dependencySync("androidx.test:rules:1.4.1-alpha03") + dependencySync("androidx.test:runner:1.4.1-alpha03") + dependencySync("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.0-RC") } |