From 46e8201ca2cedbe6055c2e48139408d30e5bf4c2 Mon Sep 17 00:00:00 2001 From: sowjanyakch Date: Thu, 5 Dec 2024 16:39:46 +0100 Subject: [PATCH] remove hilt dependency Signed-off-by: sowjanyakch --- app/build.gradle | 5 ----- build.gradle | 3 --- 2 files changed, 8 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index bcc155f61..3f9fb6f8e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -26,7 +26,6 @@ apply plugin: 'com.github.spotbugs' apply plugin: 'io.gitlab.arturbosch.detekt' apply plugin: "org.jlleitschuh.gradle.ktlint" apply plugin: 'kotlinx-serialization' -apply plugin: 'dagger.hilt.android.plugin' android { compileSdk 34 @@ -46,7 +45,6 @@ android { flavorDimensions "default" renderscriptTargetApi 19 renderscriptSupportModeEnabled true - javaCompileOptions.annotationProcessorOptions.arguments['dagger.hilt.disableModulesHaveInstallInCheck'] = 'true' productFlavors { // used for f-droid @@ -355,9 +353,6 @@ dependencies { implementation 'com.github.nextcloud-deps:android-talk-webrtc:121.6167.0' implementation("io.coil-kt:coil-compose:2.7.0") - implementation "com.google.dagger:hilt-android:$hilt_version" - kapt "com.google.dagger:hilt-android-compiler:$hilt_version" - implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.8.7") androidTestImplementation(platform("androidx.compose:compose-bom:2024.11.00")) androidTestImplementation("androidx.compose.ui:ui-test-junit4") diff --git a/build.gradle b/build.gradle index 5c908f17c..a67cf58d9 100644 --- a/build.gradle +++ b/build.gradle @@ -12,7 +12,6 @@ buildscript { ext { kotlinVersion = '2.1.0' - hilt_version = '2.44' } repositories { @@ -28,8 +27,6 @@ buildscript { classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:6.0.26' classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.7" classpath "org.jlleitschuh.gradle:ktlint-gradle:12.1.2" - classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version" - // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files }