build: add dependencies for format-common

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-04-16 21:06:57 +05:30
parent a13176a23d
commit d27ba408d8
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
2 changed files with 12 additions and 0 deletions

View file

@ -41,6 +41,7 @@ dependencies {
implementation("org.jetbrains.kotlinx:binary-compatibility-validator:0.5.0")
implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.4.30")
implementation("de.undercouch:gradle-download-task:4.1.1")
implementation("com.google.dagger:hilt-android-gradle-plugin:2.34.1-beta")
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.32")
implementation("com.ncorti.ktfmt.gradle:plugin:0.5.0")
implementation("com.vanniktech:gradle-maven-publish-plugin:0.13.0")

View file

@ -2,6 +2,7 @@
[versions]
androidx_test = "1.4.0-alpha05"
coroutines = "1.4.3"
hilt = "2.34.1-beta"
kotlin = "1.4.32"
lifecycle = "2.4.0-alpha01"
@ -11,6 +12,7 @@ androidGradlePlugin = "com.android.tools.build:gradle:4.1.3"
binaryCompatibilityValidator = "org.jetbrains.kotlinx:binary-compatibility-validator:0.5.0"
dokkaPlugin = "org.jetbrains.dokka:dokka-gradle-plugin:1.4.30"
downloadTaskPlugin = "de.undercouch:gradle-download-task:4.1.1"
hiltGradlePlugin = { module = "com.google.dagger:hilt-android-gradle-plugin", version.ref = "hilt" }
kotlinGradlePlugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
ktfmtGradlePlugin = "com.ncorti.ktfmt.gradle:plugin:0.5.0"
mavenPublishPlugin = "com.vanniktech:gradle-maven-publish-plugin:0.13.0"
@ -40,6 +42,14 @@ androidx-recyclerviewSelection = "androidx.recyclerview:recyclerview-selection:1
androidx-security = "androidx.security:security-crypto:1.1.0-alpha03"
androidx-swiperefreshlayout = "androidx.swiperefreshlayout:swiperefreshlayout:1.2.0-alpha01"
# Dagger/Hilt dependencies
dagger-hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hilt" }
dagger-hilt-compiler = { module = "com.google.dagger:hilt-compiler", version.ref = "hilt" }
dagger-hilt-core = { module = "com.google.dagger:hilt-core", version.ref = "hilt" }
# Desugaring
android-desugarJdkLibs = "com.android.tools:desugar_jdk_libs:1.0.10"
# First-party libraries
aps-sublimeFuzzy = "com.github.android-password-store:sublime-fuzzy:1.0.0"
aps-zxingAndroidEmbedded = "com.github.android-password-store:zxing-android-embedded:4.1.0-aps"
@ -66,6 +76,7 @@ testing-junit = "junit:junit:4.13.2"
testing-kotlintest-junit = { module = "org.jetbrains.kotlin:kotlin-test-junit", version.ref = "kotlin" }
androidx-testing-rules = { module = "androidx.test:rules", version.ref="androidx_test" }
androidx-testing-runner = { module = "androidx.test:runner", version.ref="androidx_test" }
kotlin-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" }
# Bundles of dependencies usually used together so they can be included in one go
[bundles]