diff options
-rw-r--r-- | build.gradle.kts | 7 | ||||
-rw-r--r-- | gradle/libs.versions.toml | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index 8f14bbc6..5a278514 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -2,15 +2,12 @@ * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ - -buildscript { - repositories { mavenCentral() } - dependencies { classpath(libs.build.hilt) } -} +@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") plugins { id("com.github.android-password-store.kotlin-common") id("com.github.android-password-store.binary-compatibility") id("com.github.android-password-store.git-hooks") id("com.github.android-password-store.spotless") + alias(libs.plugins.hilt) apply false } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 2623a889..b31fa3b3 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -5,11 +5,14 @@ androidx_test = "1.4.1-alpha04" compose = "1.2.0-alpha03" coroutines = "1.6.0" flowbinding = "1.2.0" -hilt = "2.40.5" +hilt = "2.41" kotlin = "1.6.10" leakcanary = "2.8.1" lifecycle = "2.4.1" +[plugins] +hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" } + [libraries] android-desugarJdkLibs = "com.android.tools:desugar_jdk_libs:1.1.5" androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidx_activity" } @@ -42,7 +45,6 @@ build-agp = "com.android.tools.build:gradle:7.1.1" build-binarycompat = "org.jetbrains.kotlinx:binary-compatibility-validator:0.8.0" build-dokka = "org.jetbrains.dokka:dokka-gradle-plugin:1.6.10" build-download = "de.undercouch:gradle-download-task:5.0.1" -build-hilt = "com.google.dagger:hilt-android-gradle-plugin:2.40.5" build-kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10" build-mavenpublish = "com.vanniktech:gradle-maven-publish-plugin:0.18.0" build-okhttp = "com.squareup.okhttp3:okhttp:4.9.3" |