From e632769d657e22d569cc790ce2a522f7e1f56c32 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sun, 10 Sep 2023 20:31:15 +0200 Subject: [PATCH] remove unneeded config --- build.gradle | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/build.gradle b/build.gradle index 226926e4e3..9ec56f9be3 100644 --- a/build.gradle +++ b/build.gradle @@ -123,18 +123,3 @@ subprojects { maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1 } } - -// This is necessary to prevent Gradle build errors like: -// -// Duplicate class androidx.lifecycle.ViewModelLazy found in modules jetified-lifecycle-viewmodel-ktx-2.3.1-runtime (androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1) and lifecycle-viewmodel-2.5.0-runtime (androidx.lifecycle:lifecycle-viewmodel:2.5.0) -// -// By explicitly adding these dependencies, the jetifier -// is forced to use the correct lifecycle version instead -// of automatically picking 2.3.1. -// -// See: https://stackoverflow.com/a/69832319/560774 -configurations { - all { - exclude group: 'androidx.lifecycle', module: 'lifecycle-viewmodel-ktx' - } -}