diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2021-04-16 21:06:57 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2021-04-18 03:01:14 +0530 |
commit | d27ba408d871911da90f161cb0f066013ed4626c (patch) | |
tree | 172ab44df0f64fbfba8b1eb32f92581c58529435 | |
parent | a13176a23dba82e29474cb4f7b5cbf6f49b3eb53 (diff) |
build: add dependencies for format-common
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r-- | buildSrc/build.gradle.kts | 1 | ||||
-rw-r--r-- | gradle/libs.versions.toml | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index b52d5264..51a07fad 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -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") diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index b616ee74..80c27817 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -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] |